Neos\Flow\Persistence\Generic\QueryResult::initialize PHP Méthode

initialize() protected méthode

Loads the objects this QueryResult is supposed to hold
protected initialize ( ) : void
Résultat void
    protected function initialize()
    {
        if (!is_array($this->queryResult)) {
            $this->queryResult = $this->dataMapper->mapToObjects($this->persistenceManager->getObjectDataByQuery($this->query));
        }
    }