Newscoop\Service\IEntityBaseService::findById PHP Method

findById() public method

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.
return Newscoop\Entity The entity, null if no entities could be found for the provided id.
    function findById($id);
IEntityBaseService