1 | <?php namespace Mascame\Artificer\Controllers; |
||
7 | class ExtensionController extends BaseController |
||
8 | { |
||
9 | const ACTION_INSTALL = 'install'; |
||
10 | const ACTION_UNINSTALL = 'uninstall'; |
||
11 | |||
12 | const TYPE_PLUGINS = 'plugins'; |
||
13 | const TYPE_WIDGETS = 'widgets'; |
||
14 | |||
15 | /** |
||
16 | * @var |
||
17 | */ |
||
18 | protected $type; |
||
19 | |||
20 | /** |
||
21 | * @return mixed |
||
22 | */ |
||
23 | protected function getManager() { |
||
30 | |||
31 | /** |
||
32 | * @return string |
||
33 | */ |
||
34 | protected function getType() { |
||
39 | |||
40 | public function extensions() |
||
47 | |||
48 | /** |
||
49 | * @param $extension |
||
50 | * @return \Illuminate\Http\RedirectResponse |
||
51 | */ |
||
52 | public function install($extension) |
||
56 | |||
57 | /** |
||
58 | * @param $extension |
||
59 | * @return \Illuminate\Http\RedirectResponse |
||
60 | */ |
||
61 | public function uninstall($extension) |
||
65 | |||
66 | /** |
||
67 | * @param $extension |
||
68 | * @param $action |
||
69 | * @return \Illuminate\Http\RedirectResponse |
||
70 | * @throws \Exception |
||
71 | */ |
||
72 | protected function doAction($extension, $action) |
||
84 | |||
85 | /** |
||
86 | * @param $plugin |
||
87 | * @return mixed |
||
88 | */ |
||
89 | protected function getExtensionSlug($plugin) { |
||
92 | |||
93 | } |
||
94 |
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.