PHP Interface Newscoop\Service\IEntityBaseService

Afficher le fichier Open project: sourcefabric/newscoop

Méthodes publiques

Méthode Description
findById ( mixed $id ) : Newscoop\Entity Provides the entity that has the provided id.
getById ( mixed $id ) : Newscoop\Entity Provides the entity that has the provided id.

Method Details

findById() public méthode

Provides the entity that has the provided id.
public findById ( mixed $id ) : Newscoop\Entity
$id mixed The id to be searched, not null, not empty.
Résultat Newscoop\Entity The entity, null if no entities could be found for the provided id.

getById() public méthode

Provides the entity that has the provided id.
public getById ( mixed $id ) : Newscoop\Entity
$id mixed The id to be searched, not null, not empty.
Résultat Newscoop\Entity The entity, not null.