KernelLoader::__construct PHP Method

__construct() public method

public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel )
$kernel Symfony\Component\HttpKernel\KernelInterface
    public function __construct(KernelInterface $kernel)
    {
        $this->setKernel($kernel);
    }

Usage Example

Example #1
0
 /**
  * @param KernelInterface $kernel
  * @param string          $module The module wherefore this is the configuration-file.
  */
 public function __construct(KernelInterface $kernel, $module)
 {
     parent::__construct($kernel);
     $this->module = (string) $module;
     // read the possible actions based on the files
     $this->setPossibleActions();
 }
All Usage Examples Of KernelLoader::__construct