* @param mixed $mixed * @param null $serial * @param null $ttl * @return mixed */ public function put($mixed, $serial = null, $ttl = null); /** * gets the entry associted to the serial * throws an exception if not found * * @access public * @author Jerome Bogaerts, * @param string serial * @return common_Serializable * @throws common_cache_NotFoundException */ public function get($serial); /** * test whenever an entry associted to the serial exists * * @access public * @author Jerome Bogaerts, * @param string serial * @return boolean */ public function has($serial); /** * removes an entry from the cache * * @access public * @author Jerome Bogaerts, * @param string serial * @return mixed */ public function remove($serial); /** * empties the cache * * @access public * @author Jerome Bogaerts, * @return mixed */ public function purge(); }