Api
7 years ago
ConfigPress
7 years ago
Object
7 years ago
Subject
7 years ago
API.php
7 years ago
Cache.php
7 years ago
Compatibility.php
7 years ago
Config.php
7 years ago
ConfigPress.php
7 years ago
Console.php
7 years ago
Exporter.php
7 years ago
Gateway.php
7 years ago
Importer.php
7 years ago
JwtAuth.php
7 years ago
Login.php
7 years ago
Media.php
7 years ago
Object.php
7 years ago
Request.php
7 years ago
Server.php
7 years ago
Subject.php
7 years ago
Cache.php
65 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * ====================================================================== |
| 5 | * LICENSE: This file is subject to the terms and conditions defined in * |
| 6 | * file 'license.txt', which is part of this source code package. * |
| 7 | * ====================================================================== |
| 8 | */ |
| 9 | |
| 10 | /** |
| 11 | * AAM Core Cache |
| 12 | * |
| 13 | * @package AAM |
| 14 | * @author Vasyl Martyniuk <vasyl@vasyltech.com> |
| 15 | * @todo - Remove May 2019 |
| 16 | */ |
| 17 | class AAM_Core_Cache { |
| 18 | |
| 19 | /** |
| 20 | * Get cached option |
| 21 | * |
| 22 | * @param string $option |
| 23 | * |
| 24 | * @return mixed |
| 25 | * |
| 26 | * @access public |
| 27 | */ |
| 28 | public static function get() { |
| 29 | return null; |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * Set cache option |
| 34 | * |
| 35 | * @param string $option |
| 36 | * @param mixed $data |
| 37 | * @param mixed $legacy Deprecated as the first arg was subject |
| 38 | * |
| 39 | * @return void |
| 40 | * |
| 41 | * @access public |
| 42 | */ |
| 43 | public static function set() { |
| 44 | } |
| 45 | |
| 46 | /** |
| 47 | * Check if key exists |
| 48 | * |
| 49 | * @param string $option |
| 50 | * |
| 51 | * @return boolean |
| 52 | * |
| 53 | * @access public |
| 54 | */ |
| 55 | public static function has() { |
| 56 | return null; |
| 57 | } |
| 58 | |
| 59 | /** |
| 60 | * |
| 61 | */ |
| 62 | public static function clear() { |
| 63 | AAM_Core_API::clearCache(); |
| 64 | } |
| 65 | } |