1 | <?php |
||
10 | class ApiKeyController extends Controller |
||
11 | { |
||
12 | protected $apiKey; |
||
13 | |||
14 | /** |
||
15 | * ApiKeyController constructor. |
||
16 | * @param ApiKey $apiKey |
||
17 | */ |
||
18 | public function __construct(ApiKey $apiKey) |
||
25 | |||
26 | /** |
||
27 | * Create a new api token. |
||
28 | * |
||
29 | * TODO: implement session to the view. |
||
30 | * TODO: Build api key limit that the user can have max. 5 keys. |
||
31 | * @param Request $request |
||
32 | * @return \Illuminate\Http\RedirectResponse |
||
33 | */ |
||
34 | public function makeKey(Request $request) |
||
50 | |||
51 | public function revokeKey() |
||
55 | |||
56 | /** |
||
57 | * Get the apikey |
||
58 | * |
||
59 | * @param int $id the database id off the api key. |
||
60 | * @return \Illuminate\Http\RedirectResponse |
||
61 | */ |
||
62 | public function getKey($id) |
||
66 | |||
67 | /** |
||
68 | * Delete a api key out off the system. |
||
69 | * |
||
70 | * @param int $id the database id off the api key. |
||
71 | * @return \Illuminate\Http\RedirectResponse |
||
72 | */ |
||
73 | public function deleteKey($id) |
||
80 | |||
81 | } |
||
82 |
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.