Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ModifierComposite.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Framework\Url;
7 
12 {
16  private $modifiers;
17 
21  public function __construct(array $modifiers = [])
22  {
23  $this->modifiers = $modifiers;
24  }
25 
30  {
31  foreach ($this->modifiers as $modifier) {
32  $url = $modifier->execute($url, $mode);
33  }
34 
35  return $url;
36  }
37 }
execute($url, $mode=ModifierInterface::MODE_ENTIRE)
if($exist=($block->getProductCollection() && $block->getProductCollection() ->getSize())) $mode
Definition: grid.phtml:15