From 1ae24178ffc4bcea5fb459cfc7d5c6e6cd4c20d7 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 30 Dec 2015 15:26:24 +1030 Subject: [PATCH] Add getters --- .../core/src/Http/Controller/ClientView.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/framework/core/src/Http/Controller/ClientView.php b/framework/core/src/Http/Controller/ClientView.php index 77f0d33cc..b5f786b1c 100644 --- a/framework/core/src/Http/Controller/ClientView.php +++ b/framework/core/src/Http/Controller/ClientView.php @@ -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; + } }