예제 #1
0
 /**
  * @param string[] $roots
  * @param \Sitegear\Config\ConfigLoader $loader
  * @param string $prefix
  */
 public function __construct(array $roots, ConfigLoader $loader, $prefix)
 {
     parent::__construct($prefix);
     $this->roots = $roots;
     $this->loader = $loader;
 }
예제 #2
0
 /**
  * @param \Sitegear\Engine\EngineInterface $engine
  * @param string $prefix
  */
 public function __construct(EngineInterface $engine, $prefix)
 {
     parent::__construct($prefix);
     $this->engine = $engine;
 }
예제 #3
0
 /**
  * @param \Sitegear\Config\ConfigurableInterface $object
  * @param string $prefix
  */
 public function __construct(ConfigurableInterface $object, $prefix)
 {
     parent::__construct($prefix);
     $this->object = $object;
 }