PHP Class Lemon\RestBundle\Object\Repository\OrmRepositoryWrapper

Inheritance: implements Lemon\RestBundle\Object\Repository
Datei anzeigen Open project: stanlemon/rest-bundle

Protected Properties

Property Type Description
$metadata Doctrine\Common\Persistence\Mapping\ClassMetadata
$repository Doctrine\Common\Persistence\ObjectRepository

Public Methods

Method Description
__construct ( Doctrine\Common\Persistence\ObjectRepository $repository )
count ( Lemon\RestBundle\Object\Criteria $criteria )
findById ( integer $id )
search ( Lemon\RestBundle\Object\Criteria $criteria )

Protected Methods

Method Description
buildWhereClause ( Doctrine\ORM\QueryBuilder $qb, Lemon\RestBundle\Object\Criteria $criteria )

Method Details

__construct() public method

public __construct ( Doctrine\Common\Persistence\ObjectRepository $repository )
$repository Doctrine\Common\Persistence\ObjectRepository

buildWhereClause() protected method

protected buildWhereClause ( Doctrine\ORM\QueryBuilder $qb, Lemon\RestBundle\Object\Criteria $criteria )
$qb Doctrine\ORM\QueryBuilder
$criteria Lemon\RestBundle\Object\Criteria

count() public method

public count ( Lemon\RestBundle\Object\Criteria $criteria )
$criteria Lemon\RestBundle\Object\Criteria

findById() public method

public findById ( integer $id )
$id integer

Property Details

$metadata protected_oe property

protected ClassMetadata,Doctrine\Common\Persistence\Mapping $metadata
return Doctrine\Common\Persistence\Mapping\ClassMetadata

$repository protected_oe property

protected ObjectRepository,Doctrine\Common\Persistence $repository
return Doctrine\Common\Persistence\ObjectRepository