Bolt\Storage\Repository::getLoadQuery PHP Method

getLoadQuery() protected method

Note that the metadata fields will be passed the instance to modify where appropriate.
protected getLoadQuery ( ) : Doctrine\DBAL\Query\QueryBuilder
return Doctrine\DBAL\Query\QueryBuilder
    protected function getLoadQuery()
    {
        $qb = $this->createQueryBuilder();
        $this->load($qb);
        return $qb;
    }