| 1 | <?php |
||
| 9 | class AdminController extends Controller |
||
| 10 | { |
||
| 11 | public function getList(ConfigContract $config) |
||
| 12 | { |
||
| 13 | $model = $config->getModel(); |
||
| 14 | return $model->get(); |
||
| 15 | } |
||
| 16 | |||
| 17 | public function config(ConfigContract $config) |
||
| 18 | { |
||
| 19 | return $config->getConfigs(); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function create() |
||
| 25 | |||
| 26 | public function store() |
||
| 29 | |||
| 30 | public function edit(ConfigContract $config, $id) |
||
| 31 | { |
||
| 32 | dd($config->getModel()->find($id)) ; |
||
|
|
|||
| 33 | } |
||
| 34 | |||
| 35 | public function update() |
||
| 38 | |||
| 39 | public function delete(ConfigContract $config, $id) |
||
| 44 | |||
| 45 | public function batchDelete(ConfigContract $config) |
||
| 48 | |||
| 49 | public function destroy(ConfigContract $config, $id) |
||
| 54 | |||
| 55 | public function restore(ConfigContract $config, $id) |
||
| 60 | } |
||
| 61 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.