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