Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
PreProcessorComposite.php
Go to the documentation of this file.
1 <?php
7 
9 
14 {
18  private $processors = [];
19 
23  public function __construct(array $processors = [])
24  {
25  $this->processors = $processors;
26  }
27 
31  public function process(array $config)
32  {
34  foreach ($this->processors as $processor) {
35  $config = $processor->process($config);
36  }
37 
38  return $config;
39  }
40 }
$config
Definition: fraud_order.php:17
$processor
Definition: 404.php:10