Add getters

This commit is contained in:
Toby Zerner 2015-12-30 15:26:24 +10:30
parent 9786568749
commit 1ae24178ff

View File

@ -346,4 +346,20 @@ class ClientView implements Renderable
'csrfToken' => $session->get('csrf_token')
];
}
/**
* @return User
*/
public function getActor()
{
return $this->actor;
}
/**
* @return Request
*/
public function getRequest()
{
return $this->request;
}
}