Newscoop\Service\IEntityBaseService::getById PHP Method

getById() public method

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.
return Newscoop\Entity The entity, not null.
    function getById($id);
IEntityBaseService