| 1 | <?php |
||
| 4 | class FileCache { |
||
| 5 | private $root; |
||
| 6 | |||
| 7 | 7 | private function getKeyFilePath (string $name):string |
|
| 11 | |||
| 12 | 8 | public function __construct (string $root) |
|
| 16 | |||
| 17 | // just here for Memcache compatibilty |
||
| 18 | 7 | public function pconnect($host, $port):bool |
|
| 22 | |||
| 23 | 2 | public function delete ($key):bool |
|
| 31 | |||
| 32 | 3 | public function set($key, $value, $flag, $expire):bool |
|
| 42 | |||
| 43 | 6 | public function get ($key) |
|
| 63 | } |
||
| 64 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.