KernelLoader::__construct PHP 메소드

__construct() 공개 메소드

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

Usage Example

예제 #1
0
파일: Config.php 프로젝트: hossine/forkcms
 /**
  * @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