for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Bundle\ThemeBundle\Configuration\Processor;
use Symfony\Component\Config\Definition\ConfigurationInterface;
use Symfony\Component\Config\Definition\Processor;
/**
* @author Kamil Kokot <[email protected]>
final class SymfonyConfigurationProcessor implements ConfigurationProcessorInterface
{
* @var ConfigurationInterface
private $configuration;
* @var Processor
private $processor;
* @param ConfigurationInterface $configuration
* @param Processor $processor
public function __construct(ConfigurationInterface $configuration, Processor $processor)
$this->configuration = $configuration;
$this->processor = $processor;
}
* {@inheritdoc}
public function process(array $configs)
return $this->processor->processConfiguration($this->configuration, $configs);