Fetch data
@return mixed
177704
public function resolve()
    {
        $this->data = [
            'environment' => php_sapi_name(),
            'process-id' => $this->process->getId(),
            'parent-process-id' => $this->process->getParentId(),
            'date' => date('Y-m-d'),
            'time' => date('H:m:s'),
            'timestamp' => time()
        ];
    }
1322880
protected function _fetch()
    {
        if ($this->_select === NULL) {
            return false;
        }

        $this->_data = $this->_select->fetchAllAsItems();

        return true;
    }
577296
public function get()
    {
        if (!$this->stmt) {
            $this->execute();
        }
        $res = $this->stmt->fetchAll(PDO::FETCH_ASSOC);
        $this->rewind();
        $this->stmt = null;

        return $res;
    }
507800
public function getData()
    {
        if ($this->data === null) {
            $searchRequest  = $this->searchRequestBuilder->getRequest();
            $searchResponse = $this->searchEngine->search($searchRequest);

            $this->data = $this->processResponse($searchResponse);
        }

        return $this->data;
    }
978770
public function fetch()
    {
        $sessionToken = null;
        if (AVUser::getCurrentUser())
        {
            $sessionToken = AVUser::getCurrentUser()->getSessionToken();
        }
        $response = AVClient::_request('GET', '/classes/' . $this->className . '/' . $this->objectId, $sessionToken);
        $this->_mergeAfterFetch($response);
    }
1352138
public function fetchData() {
        /* If using PHP in CGI mode and non standard environment */
        if (isset($_SERVER[$this->options["environment"]])) {
            $message = "Using token from environent";
            $header = $_SERVER[$this->options["environment"]];
        } else {
            $message = "Using token from request header";
            $header = $this->app->request->headers("Authorization");
        }

        $matches = null;

        if (preg_match("/Bearer\s+(.*)$/i", $header, $matches)) {
            $this->log(LogLevel::DEBUG, $message);
            return array(self::KEY_TOKEN => $matches[1]);
        }

        /* Bearer not found, try a cookie. */
        if ($this->app->getCookie($this->options["cookie"])) {
            $this->log(LogLevel::DEBUG, "Using token from cookie");
            $token = $this->app->getCookie($this->options["cookie"]);
            return array(self::KEY_TOKEN => $token);
        }

        /* If everything fails log and return false. */
        $message = "Token not found";

        $this->error = new \SlimPower\Authentication\Error();
        $this->error->setDescription($message);

        $this->log(LogLevel::WARNING, $message);
        return false;
    }
613129
protected function fetchData()
    {
        if (null === $this->_lastScrollId) {
            //first query - do search
            $options = ['scroll' => $this->scrollWindow];
            if(!$this->query->orderBy) {
                $options['search_type'] = 'scan';
            }
            $result = $this->query->createCommand($this->db)->search($options);

            //if using "scan" mode, make another request immediately
            //(search request returned 0 results)
            if(!$this->query->orderBy) {
                $result = $this->query->createCommand($this->db)->scroll([
                    'scroll_id' => $result['_scroll_id'],
                    'scroll' => $this->scrollWindow,
                ]);
            }
        } else {
            //subsequent queries - do scroll
            $result = $this->query->createCommand($this->db)->scroll([
                'scroll_id' => $this->_lastScrollId,
                'scroll' => $this->scrollWindow,
            ]);
        }

        //get last scroll id
        $this->_lastScrollId = $result['_scroll_id'];

        //get data
        return $this->query->populate($result['hits']['hits']);
    }
1339547
public function get()
	{
		if ( ! file_exists($this->file))
			return array();

		$data = unserialize(base64_decode(file_get_contents($this->file)));

		return $data ?: array();
	}
1221237
public function getData()
    {
        if ($this->isGet()) {
            $data = $this->get;
        } else {
            $data = $this->post;
        }
        if ($this->session->has('_request_data')) {
            foreach ($this->session->get('_request_data')->getAll() as $key => $val) {
                $data->set($key, $val);
            }
        }
        return $data;
    }
1315478
public function getData()
    {
        $this->validate();

        $result = $this->getResult();

        if (substr($result, 0, 3) == '{\"') {
            $result = stripslashes($result);
        }

        $response = json_decode($result, true);

        $data              = $response[$this->key];
        $data['sign']      = $response['sign'];
        $data['sign_type'] = $response['sign_type'];

        return $data;
    }
16648
public function fetchAll()
    {
        $sth = $this->execute();
        $db = $this->db;

        return $sth->fetchAll($db::FETCH_ASSOC);
    }
1218213
public function getData()
	{
		return !empty($this->data) ? $this->data : $this->getResponse([
			'sort' => $this->sort_column,
			'order' => $this->order_column,
			'limit' => $this->limit,
			'offset' => $this->offset,
			'filter' => $this->filter,
			'one' => $this->filter_one,
		]);
	}
1237991
public function get(): array
    {
        $pdoStatement = $this->provideStatement();
        $pdoStatement = $this->execute($pdoStatement);
        return $pdoStatement->fetchAll(\PDO::FETCH_OBJ);
    }
525122
function fetch($fetchMode = PDO::FETCH_ASSOC) {
        return $this->_data($this->query()->fetch($fetchMode),false);
        //return $this->query()->fetch($fetchMode);
    }
608747
public function fetch() {
		if ($this->selection) {
			$fetch = $this->selection->fetch();
			if ($fetch) {
				return $this->createEntity($fetch);
			} else {
				return array();
			}
		} else {
			return array();
		}
	}
138080
public function fetch()
    {
        $parsedName = $this->getParsedMigrationName();
        $parsedFields = $this->getParsedMigrationFields();

        return [
            'class' => $this->getClass(),
            'up'    => $this->getMigrationUp($parsedName, $parsedFields),
            'down'  => $this->getMigrationDown($parsedName, $parsedFields)
        ];
    }
1171727
public function getData()
    {
        if (!$this->data && $this->dataProvider) {
            return call_user_func($this->dataProvider, $this);
        }
        return $this->data;
    }