1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- declare(strict_types=1);
- namespace catcher\base;
- abstract class CatchRepository
- {
-
- public function __call($name, $arguments)
- {
-
- if (method_exists($this, 'model')) {
- return call_user_func_array([$this->model(), $name], $arguments);
- }
- throw new \Exception(sprintf('Method %s Not Found~', $name));
- }
- }
|