| 1 | <?php |
||
| 14 | class CacheController extends AbstractConsoleController |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var CacheService |
||
| 18 | */ |
||
| 19 | protected $cacheService; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Default constructor |
||
| 23 | * |
||
| 24 | * @param CacheService $cacheService |
||
| 25 | */ |
||
| 26 | public function __construct(CacheService $cacheService) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Clear items from the cache |
||
| 33 | * |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function clearAction() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * Get the cache service |
||
| 62 | * |
||
| 63 | * @return CacheService |
||
| 64 | */ |
||
| 65 | public function getCacheService() |
||
| 69 | } |
||
| 70 |