An error occurred while loading the file. Please try again.
-
Guillaume Perréal authoredd56eec09
<?php declare(strict_types=1);
/*
* Copyright (C) 2016-2018 IRSTEA
* All rights reserved.
*/
namespace Irstea\PlantUmlBundle\Model\Filter\Composite;
use Irstea\PlantUmlBundle\Model\ClassFilterInterface;
/**
* Description of CompositeFilter.
*/
abstract class AbstractCompositeFilter implements ClassFilterInterface
{
/**
* @var ClassFilterInterface
*/
protected $filters;
public function __construct(array $filters)
{
$this->filters = $filters;
}
public function toConfig(array &$conf)
{
foreach ($this->filters as $filter) {
$filter->toConfig($conf);
}
}
}