Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
FlatScopeResolver.php
Go to the documentation of this file.
1 <?php
8 
11 
13 {
14  const SUFFIX_FLAT = '_flat';
15 
19  private $indexScopeResolver;
20 
24  public function __construct(IndexScopeResolver $indexScopeResolver)
25  {
26  $this->indexScopeResolver = $indexScopeResolver;
27  }
28 
35  public function resolve($index, array $dimensions)
36  {
37  return $this->indexScopeResolver->resolve($index, []) . self::SUFFIX_FLAT;
38  }
39 }
__construct(IndexScopeResolver $indexScopeResolver)
$index
Definition: list.phtml:44