From dafe5ee558c22c427d77b0a14fd1b956933bfd4a Mon Sep 17 00:00:00 2001 From: Sergi Tur Badenas Date: Sat, 19 Sep 2015 14:28:19 +0200 Subject: [PATCH] Add getter for $class atribute --- src/SleepingOwl/Admin/Model/ModelConfiguration.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/SleepingOwl/Admin/Model/ModelConfiguration.php b/src/SleepingOwl/Admin/Model/ModelConfiguration.php index 9359cdce..fc900efc 100644 --- a/src/SleepingOwl/Admin/Model/ModelConfiguration.php +++ b/src/SleepingOwl/Admin/Model/ModelConfiguration.php @@ -221,5 +221,10 @@ public function restoreUrl($id) { return route('admin.model.restore', [$this->alias(), $id]); } + + public function getClass() + { + return $this->class; + } -} \ No newline at end of file +}