1 | <?php namespace Arcanesoft\Auth\Http\Controllers\Admin; |
||
16 | class PermissionsController extends Controller |
||
17 | { |
||
18 | /* ----------------------------------------------------------------- |
||
19 | | Traits |
||
20 | | ----------------------------------------------------------------- |
||
21 | */ |
||
22 | use JsonResponses; |
||
23 | |||
24 | /* ----------------------------------------------------------------- |
||
25 | | Properties |
||
26 | | ----------------------------------------------------------------- |
||
27 | */ |
||
28 | /** @var \Arcanesoft\Contracts\Auth\Models\Permission */ |
||
29 | protected $permission; |
||
30 | |||
31 | /** @var int */ |
||
32 | protected $perPage = 30; |
||
33 | |||
34 | /* ----------------------------------------------------------------- |
||
35 | | Constructor |
||
36 | | ----------------------------------------------------------------- |
||
37 | */ |
||
38 | /** |
||
39 | * Instantiate the controller. |
||
40 | * |
||
41 | * @param \Arcanesoft\Contracts\Auth\Models\Permission $permission |
||
42 | */ |
||
43 | public function __construct(Permission $permission) |
||
52 | |||
53 | /* ----------------------------------------------------------------- |
||
54 | | Main Methods |
||
55 | | ----------------------------------------------------------------- |
||
56 | */ |
||
57 | public function index() |
||
70 | |||
71 | public function group(PermissionsGroup $group) |
||
89 | |||
90 | public function show(Permission $permission) |
||
101 | |||
102 | public function detachRole(Permission $permission, Role $role) |
||
120 | |||
121 | /* ----------------------------------------------------------------- |
||
122 | | Other Methods |
||
123 | | ----------------------------------------------------------------- |
||
124 | */ |
||
125 | /** |
||
126 | * Notify with translation. |
||
127 | * |
||
128 | * @param string $action |
||
129 | * @param array $replace |
||
130 | * @param array $context |
||
131 | * |
||
132 | * @return string |
||
133 | */ |
||
134 | protected function transNotification($action, array $replace = [], array $context = []) |
||
144 | } |
||
145 |
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.