forked from magento/magento2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'remotes/api/MAGETWO-42234-Unable-To-Dis…
…able-Webapi' into API-Sprint-57-PR
- Loading branch information
Showing
5 changed files
with
46 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
30 changes: 30 additions & 0 deletions
30
lib/internal/Magento/Framework/App/Cache/Type/Reflection.php
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
/** | ||
* Copyright © 2015 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
namespace Magento\Framework\App\Cache\Type; | ||
|
||
/** | ||
* System / Cache Management / Cache type "Reflection Data" | ||
*/ | ||
class Reflection extends \Magento\Framework\Cache\Frontend\Decorator\TagScope | ||
{ | ||
/** | ||
* Cache type code unique among all cache types | ||
*/ | ||
const TYPE_IDENTIFIER = 'reflection'; | ||
|
||
/** | ||
* Cache tag used to distinguish the cache type from all other cache | ||
*/ | ||
const CACHE_TAG = 'REFLECTION'; | ||
|
||
/** | ||
* @param \Magento\Framework\App\Cache\Type\FrontendPool $cacheFrontendPool | ||
*/ | ||
public function __construct(\Magento\Framework\App\Cache\Type\FrontendPool $cacheFrontendPool) | ||
{ | ||
parent::__construct($cacheFrontendPool->get(self::TYPE_IDENTIFIER), self::CACHE_TAG); | ||
} | ||
} |