public function __construct($cacheDirectory, $cacheDirMode, $handlerClass, ContainerInterface $container, $fileLocator, $throwException, $fallbackImage)
{
if (!$fileLocator instanceof FileLocatorInterface && $fileLocator instanceof KernelInterface) {
throw new \InvalidArgumentException('Argument 5 passed to ' . __METHOD__ . ' must be an instance of ' . 'Symfony\\Component\\Config\\FileLocatorInterface or Symfony\\Component\\HttpKernel\\KernelInterface.');
}
if ($fileLocator instanceof KernelInterface) {
@trigger_error('Pass Symfony\\Component\\HttpKernel\\KernelInterface to ' . __CLASS__ . ' is deprecated since version 2.1.0 and will be removed in 3.0.' . ' Use Symfony\\Component\\Config\\FileLocatorInterface instead.', E_USER_DEPRECATED);
}
$this->cacheDirectory = $cacheDirectory;
$this->cacheDirMode = intval($cacheDirMode);
$this->handlerClass = $handlerClass;
$this->container = $container;
$this->fileLocator = $fileLocator;
$this->throwException = $throwException;
$this->fallbackImage = $fallbackImage;
}