PHP Class Bravo3\Orm\Events\RetrieveEvent

Inheritance: extends EntityEvent
Afficher le fichier Open project: bravo3/orm

Méthodes publiques

Méthode Description
__construct ( EntityManager $manager, $class_name, $id, $entity = null )
getClassName ( ) : string Get ClassName
getId ( ) : string Get Id
setEntity ( object $entity ) Set the entity

Method Details

__construct() public méthode

public __construct ( EntityManager $manager, $class_name, $id, $entity = null )
$manager Bravo3\Orm\Services\EntityManager

getClassName() public méthode

Get ClassName
public getClassName ( ) : string
Résultat string

getId() public méthode

Get Id
public getId ( ) : string
Résultat string

setEntity() public méthode

If the event is aborted, this entity is returned from the retieve call
public setEntity ( object $entity )
$entity object