PHP Class Networking\InitCmsBundle\Form\ORMQueryBuilderLoader

(c) net working AG For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
Inheritance: implements Symfony\Bridge\Doctrine\Form\ChoiceList\EntityLoaderInterface
Show file Open project: networking/init-cms-bundle Class Usage Examples

Protected Properties

Property Type Description
$hints array

Public Methods

Method Description
__construct ( Doctrine\ORM\QueryBuilder | Closure $queryBuilder, Doctrine\Common\Persistence\ObjectManager $manager = null, string $class = null ) Construct an ORM Query Builder Loader.
getEntities ( )
getEntitiesByIds ( $identifier, array $values )
setHint ( $name, $value )

Method Details

__construct() public method

Construct an ORM Query Builder Loader.
public __construct ( Doctrine\ORM\QueryBuilder | Closure $queryBuilder, Doctrine\Common\Persistence\ObjectManager $manager = null, string $class = null )
$queryBuilder Doctrine\ORM\QueryBuilder | Closure The query builder or a closure for creating the query builder. Passing a closure is deprecated and will not be supported anymore as of Symfony 3.0.
$manager Doctrine\Common\Persistence\ObjectManager Deprecated.
$class string Deprecated.

getEntities() public method

public getEntities ( )

getEntitiesByIds() public method

public getEntitiesByIds ( $identifier, array $values )
$values array

setHint() public method

public setHint ( $name, $value )

Property Details

$hints protected property

protected array $hints
return array