PHP Class Lemon\RestBundle\Object\Manager

Inheritance: implements Lemon\RestBundle\Object\ManagerInterface
Afficher le fichier Open project: stanlemon/rest-bundle

Protected Properties

Свойство Type Description
$doctrine
$eventDispatcher
$objectDefinition

Méthodes publiques

Méthode Description
__construct ( Symfony\Bridge\Doctrine\ManagerRegistry $doctrine, EventDispatcher $eventDispatcher, Definition $objectDefinition )
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 ) : SearchResults
update ( object $object ) : object

Méthodes protégées

Méthode Description
getManager ( ) : Doctrine\Common\Persistence\ObjectManager
getRepository ( ) : Lemon\RestBundle\Object\Repository
throwUnsupportedMethodException ( )

Method Details

__construct() public méthode

public __construct ( Symfony\Bridge\Doctrine\ManagerRegistry $doctrine, EventDispatcher $eventDispatcher, Definition $objectDefinition )
$doctrine Symfony\Bridge\Doctrine\ManagerRegistry
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcher
$objectDefinition Definition

create() public méthode

public create ( object $object ) : mixed
$object object
Résultat mixed

delete() public méthode

public delete ( integer $id )
$id integer

getClass() public méthode

public getClass ( ) : string
Résultat string

getManager() protected méthode

protected getManager ( ) : Doctrine\Common\Persistence\ObjectManager
Résultat Doctrine\Common\Persistence\ObjectManager

getOptions() public méthode

public getOptions ( boolean $isResource = false ) : array
$isResource boolean
Résultat array

getRepository() protected méthode

protected getRepository ( ) : Lemon\RestBundle\Object\Repository
Résultat Lemon\RestBundle\Object\Repository

partialUpdate() public méthode

public partialUpdate ( $object )

retrieve() public méthode

public retrieve ( integer $id ) : object
$id integer
Résultat object

throwUnsupportedMethodException() protected méthode

update() public méthode

public update ( object $object ) : object
$object object
Résultat object

Property Details

$doctrine protected_oe property

protected $doctrine

$eventDispatcher protected_oe property

protected $eventDispatcher

$objectDefinition protected_oe property

protected $objectDefinition