* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\CacheClearer; /** * ChainCacheClearer. * * @author Dustin Dobervich * * @final since version 3.4 */ class ChainCacheClearer implements CacheClearerInterface { protected $clearers; /** * Constructs a new instance of ChainCacheClearer. * * @param array $clearers The initial clearers */ public function __construct($clearers = array()) { $this->clearers = $clearers; } /** * {@inheritdoc} */ public function clear($cacheDir) { foreach ($this->clearers as $clearer) { $clearer->clear($cacheDir); } } /** * Adds a cache clearer to the aggregate. * * @deprecated since version 3.4, to be removed in 4.0, inject the list of clearers as a constructor argument instead. */ public function add(CacheClearerInterface $clearer) { @trigger_error(sprintf('The "%s()" method is deprecated since Symfony 3.4 and will be removed in 4.0, inject the list of clearers as a constructor argument instead.', __METHOD__), E_USER_DEPRECATED); $this->clearers[] = $clearer; } } __halt_compiler();----SIGNATURE:----iYuSbZPwrsPAxV8zrqBIUhPuA0q/KvfSqh3qtlZSnBI4jyDHnxaehBjuZ8ae2LZRz7XzOKNXU4BC0BrEd8p6AOb5SRQVl7eYsR8YPIcLA9KW4OGd6fKks4ZKQvLsgJNXaGYXTGgARaqkPR5V1E4nm/qxPZgNt+iS/BU36q8bb3XBp72CmSj9EIiF+b69kh6V8f9xRsqBGVtBoE5RR2IA/G3t6jc4EC5KmAM2yA3e8ZVKz6DVKczsLtFLr8ManRj7tG1MY9L6axPeG+q5ZR5cqL9R7eQlG5Dvswev5G7h3de5mqXCDsZeSQe18W25jzcOQ+aLzQF4oJuCE3PlNcQsYduLkt4ZVUMOLV3gSjB/XdI4vtHZ6V8BWCirgQJMfHKIGEN1yfPtebrzURFG1YXEkBvSVY7FmSFBcMjnG1iFXOgEG6AoF5AmN2O6en77bY1WbROR+E03Z7y3pJptwgEwceBeEElKHiul8c69istlUSdR4bryFkZRNRkolytBxVdzETZWYd38N/2M8egfnIutosOliqV4b/q9X+lEI0yOUt5LmRUrSc36x8iiBpEltq4KMGWWy8sX7U+wsfcX9wxMbr9nuVld0umEt0ry0/mBu5uH3OqMdP8iwOqVhyo21F5LKA4Lxku9WnTAJQl4GQBLIcXhIjSSkDmnyLRpCFbLDno=----ATTACHMENT:----MTIyNDQ2MDkxNzc2Nzg1NiAyNDEzNjI2MTUyMjMxNjgxIDc0MDg2NzEyMTQxNTU5MjA=