Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Created by PhpStorm.
- * User: Stixlink
- * Date: 10.07.14
- * Time: 18:10
- */
- namespace interfaces;
- interface ICache {
- /**
- * @param $key string unique key
- */
- public function get($key);
- /**
- * @param $key string unique key
- * @param $value mixed
- * @param $duration int
- */
- public function set($key, $value, $duration = 3600);
- /**
- * @param $key string unique key
- */
- public function delete($key);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement