Property | Type | Description | |
---|---|---|---|
$doctrine | |||
$eventDispatcher | |||
$objectDefinition |
Method | Description | |
---|---|---|
__construct ( Symfony\Bridge\Doctrine\ManagerRegistry $doctrine, |
||
create ( object $object ) : mixed | ||
delete ( integer $id ) | ||
getClass ( ) : string | ||
getOptions ( boolean $isResource = false ) : array | ||
partialUpdate ( $object ) | ||
retrieve ( integer $id ) : object | ||
search ( Lemon\RestBundle\Object\Criteria $criteria ) : |
||
update ( object $object ) : object |
Method | Description | |
---|---|---|
getManager ( ) : Doctrine\Common\Persistence\ObjectManager | ||
getRepository ( ) : Lemon\RestBundle\Object\Repository | ||
throwUnsupportedMethodException ( ) |
public __construct ( Symfony\Bridge\Doctrine\ManagerRegistry $doctrine, |
||
$doctrine | Symfony\Bridge\Doctrine\ManagerRegistry | |
$eventDispatcher | ||
$objectDefinition |
protected getManager ( ) : Doctrine\Common\Persistence\ObjectManager | ||
return | Doctrine\Common\Persistence\ObjectManager |
public getOptions ( boolean $isResource = false ) : array | ||
$isResource | boolean | |
return | array |
protected getRepository ( ) : Lemon\RestBundle\Object\Repository | ||
return | Lemon\RestBundle\Object\Repository |
public search ( Lemon\RestBundle\Object\Criteria $criteria ) : |
||
$criteria | Lemon\RestBundle\Object\Criteria | |
return |