Constructor.
KernelInterface $kernel A KernelInterface instance:
null|string $path The path the global resource directory:
array $paths An array of paths where to look for resources:
public function __construct(KernelInterface $kernel, $path = null, array $paths = array()) {
$this->kernel = $kernel;
if (null !== $path) {
$this->path = $path;
$paths[] = $path;
}
parent::__construct($paths);
}