for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the PommProject/PommBundle package.
*
* (c) 2014 - 2016 Grégoire HUBERT <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PommProject\PommBundle\Model;
use PommProject\Foundation\Pomm;
use PommProject\Foundation\Session\Session;
/**
* Configurator
* Pooler configurator.
* @package PommBundle
* @copyright 2014 - 2016 Grégoire HUBERT
* @author Miha Vrhovnik
* @license X11 {@link http://opensource.org/licenses/mit-license.php}
class ChainConfigurator
{
private $configurators;
public function __construct(array $configurators)
$this->configurators = $configurators;
}
* @param Pomm $pomm
* @return null
public function configure(Pomm $pomm)
foreach ($this->configurators as $configurator) {
$configurator->configure($pomm);