public function fetchActor()
    {
        if ($entity = $this->getItem()) {
            $id = $entity->actorId;
            $actor = $this->getService('repos:people.person')->find(array('id' => $id));
            $this->actor = $actor;
        }
    }
public function fetchActor()
    {
        if ($entity = $this->getItem()) {
            $id = $entity->actorId;
            $actor = $this->getService('repos:people.person')->find(array('id' => $id));
            $this->actor = $actor;
        }
    }
public function fetchActor ( ) { if ( $ entity = $ this -> getItem ( ) ) { $ id = $ entity -> actorId ; $ actor = $ this -> getService ( 'repos:people.person' ) -> find ( array ( 'id' => $ id ) ) ; $ this -> actor = $ actor ; } }
Sets controller's actor if a single entity is loaded.
Sets controller s actor if a single entity is loaded .