1 | <?php |
||
17 | class Illuminate implements Storage |
||
18 | { |
||
19 | /** |
||
20 | * @var \Illuminate\Contracts\Cache\Repository |
||
21 | */ |
||
22 | protected $cache; |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $tag = 'tymon.jwt'; |
||
28 | |||
29 | /** |
||
30 | * @var boolean |
||
31 | */ |
||
32 | protected $supportsTags; |
||
33 | |||
34 | /** |
||
35 | * @param \Illuminate\Contracts\Cache\Repository $cache |
||
36 | */ |
||
37 | 20 | public function __construct(CacheContract $cache) |
|
41 | |||
42 | /** |
||
43 | * Add a new item into storage |
||
44 | * |
||
45 | * @param string $key |
||
46 | * @param mixed $value |
||
47 | * @param int $minutes |
||
48 | * |
||
49 | * @return void |
||
50 | */ |
||
51 | 4 | public function add($key, $value, $minutes) |
|
55 | |||
56 | /** |
||
57 | * Add a new item into storage forever |
||
58 | * |
||
59 | * @param string $key |
||
60 | * @param mixed $value |
||
61 | * |
||
62 | * @return void |
||
63 | */ |
||
64 | 4 | public function forever($key, $value) |
|
68 | |||
69 | /** |
||
70 | * Get an item from storage |
||
71 | * |
||
72 | * @param string $key |
||
73 | * |
||
74 | * @return mixed |
||
75 | */ |
||
76 | 4 | public function get($key) |
|
80 | |||
81 | /** |
||
82 | * Remove an item from storage |
||
83 | * |
||
84 | * @param string $key |
||
85 | * |
||
86 | * @return boolean |
||
87 | */ |
||
88 | 4 | public function destroy($key) |
|
92 | |||
93 | /** |
||
94 | * Remove all items associated with the tag |
||
95 | * |
||
96 | * @return void |
||
97 | */ |
||
98 | 4 | public function flush() |
|
102 | |||
103 | /** |
||
104 | * Return the cache instance with tags attached |
||
105 | * |
||
106 | * @return \Illuminate\Contracts\Cache\Repository |
||
107 | */ |
||
108 | 20 | protected function cache() |
|
118 | |||
119 | /** |
||
120 | * Detect as best we can whether tags are supported with this repository & store, |
||
121 | * and save our result on the $supportsTags flag. |
||
122 | * |
||
123 | * @return void |
||
124 | */ |
||
125 | 10 | protected function determineTagSupport() |
|
146 | } |
||
147 |
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.