Kdyby\Doctrine\ResultSet::__construct PHP Метод

__construct() публичный Метод

public __construct ( Doctrine\ORM\AbstractQuery $query, QueryObject $queryObject = NULL, Kdyby\Persistence\Queryable $repository = NULL )
$query Doctrine\ORM\AbstractQuery
$queryObject QueryObject
$repository Kdyby\Persistence\Queryable
    public function __construct(ORM\AbstractQuery $query, QueryObject $queryObject = NULL, Queryable $repository = NULL)
    {
        $this->query = $query;
        $this->queryObject = $queryObject;
        $this->repository = $repository;
        if ($this->query instanceof NativeQueryWrapper || $this->query instanceof ORM\NativeQuery) {
            $this->fetchJoinCollection = FALSE;
        }
    }