aboutsummaryrefslogtreecommitdiff
path: root/model/Room.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--model/Room.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/model/Room.php b/model/Room.php
index 5799e96..fc1b40d 100644
--- a/model/Room.php
+++ b/model/Room.php
@@ -4,12 +4,7 @@ class Room
{
private $slug;
- public static function get($slug)
- {
- return new Room($slug);
- }
-
- private function __construct($slug)
+ public function __construct($slug)
{
if(! has('ROOMS.'.$slug))
throw new NotFoundException('Room '.$slug);