Last active
March 27, 2018 15:16
-
-
Save BlackhawkG7/4e6e4211a303457390f1e0680f97bebc to your computer and use it in GitHub Desktop.
Revisions
-
BlackhawkG7 renamed this gist
Mar 27, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
BlackhawkG7 created this gist
Mar 27, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ /** * cacheManager * * @var \TYPO3\CMS\Core\Cache\CacheManager * @inject */ protected $cacheManager; // if (($result = $this->cacheManager->getCache('extension_key')->get('cacheKey')) === false) { // $query = $this->createQuery(); // $result = $query->execute(); // $this->cacheManager->getCache('extension_key')->set('cacheKey', $result, [], 3600); // } // return $result;