| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class Typo3 extends \Aimeos\MAdmin\Cache\Manager\Standard |
||
| 21 | { |
||
| 22 | private \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache; |
||
| 23 | private \Aimeos\Base\Cache\Iface $object; |
||
| 24 | |||
| 25 | |||
| 26 | /** |
||
| 27 | * Sets the cache controller object. |
||
| 28 | * |
||
| 29 | * @param \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache TYPO3 cache object |
||
| 30 | * @return \Aimeos\MAdmin\Cache\Manager\Iface Same object for fluid interface |
||
| 31 | */ |
||
| 32 | public function setCache( \TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache ) : Iface |
||
| 36 | } |
||
| 37 | |||
| 38 | |||
| 39 | /** |
||
| 40 | * Returns the cache object or creates a new one if it doesn't exist yet. |
||
| 41 | * |
||
| 42 | * @return \Aimeos\Base\Cache\Iface Cache object |
||
| 43 | */ |
||
| 44 | public function getCache() : \Aimeos\Base\Cache\Iface |
||
| 53 |