| 1 | <?php  | 
            ||
| 37 | class Dummy  | 
            ||
| 38 | { | 
            ||
| 39 | |||
| 40 | /**  | 
            ||
| 41 | * Class constructor  | 
            ||
| 42 | *  | 
            ||
| 43 | * Setup Memcache(d)  | 
            ||
| 44 | */  | 
            ||
| 45 | public function __construct()  | 
            ||
| 49 | |||
| 50 | /**  | 
            ||
| 51 | * Get  | 
            ||
| 52 | *  | 
            ||
| 53 | * Since this is the dummy class, it's always going to return FALSE.  | 
            ||
| 54 | *  | 
            ||
| 55 | * @param string $key  | 
            ||
| 56 | * @return boolean  | 
            ||
| 57 | */  | 
            ||
| 58 | public function get($key)  | 
            ||
| 62 | |||
| 63 | /**  | 
            ||
| 64 | * Cache Set  | 
            ||
| 65 | *  | 
            ||
| 66 | * @param string $key  | 
            ||
| 67 | * @param mixed $value  | 
            ||
| 68 | * @param int $ttl  | 
            ||
| 69 | * @param boolean $raw  | 
            ||
| 70 | * @return boolean  | 
            ||
| 71 | */  | 
            ||
| 72 | public function set($key, $value, $ttl = 60, $raw = false)  | 
            ||
| 76 | |||
| 77 | /**  | 
            ||
| 78 | * Delete from Cache  | 
            ||
| 79 | *  | 
            ||
| 80 | * @param mixed $key  | 
            ||
| 81 | * @return boolean  | 
            ||
| 82 | */  | 
            ||
| 83 | public function delete($key)  | 
            ||
| 87 | |||
| 88 | /**  | 
            ||
| 89 | * Clean the cache  | 
            ||
| 90 | *  | 
            ||
| 91 | * @return boolean  | 
            ||
| 92 | */  | 
            ||
| 93 | public function clear()  | 
            ||
| 97 | |||
| 98 | /**  | 
            ||
| 99 | * Is this caching driver supported on the system?  | 
            ||
| 100 | * Of course this one is.  | 
            ||
| 101 | *  | 
            ||
| 102 | * @return boolean  | 
            ||
| 103 | */  | 
            ||
| 104 | public function isSupported()  | 
            ||
| 108 | }  | 
            ||
| 109 | 
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.