1 | <?php |
||
11 | class Repository implements RepositoryContract |
||
12 | { |
||
13 | protected $model; |
||
14 | |||
15 | protected $class; |
||
16 | |||
17 | public function getModel() |
||
21 | |||
22 | public function setModel(Model $model) |
||
26 | |||
27 | public function getClass() |
||
31 | |||
32 | public function setClass($class) |
||
43 | |||
44 | public function isRestorable() |
||
48 | |||
49 | /** |
||
50 | * Handle dynamic method calls into the model. |
||
51 | * |
||
52 | * @param string $method |
||
53 | * @param array $parameters |
||
54 | * @return mixed |
||
55 | */ |
||
56 | public function __call($method, $parameters) |
||
60 | |||
61 | /** |
||
62 | * Handle dynamic static method calls into the method. |
||
63 | * |
||
64 | * @param string $method |
||
65 | * @param array $parameters |
||
66 | * @return mixed |
||
67 | */ |
||
68 | public static function __callStatic($method, $parameters) |
||
72 | } |
||
73 |