Example #1
0
 /**
  * @param \Amp\Application $app
  * @param string|null $name
  */
 public function __construct(\Amp\Application $app, $name = NULL)
 {
     $this->fs = new Filesystem();
     $this->expectedResponse = 'response-code-' . \Amp\Util\StringUtil::createRandom(10);
     parent::__construct($app, $name);
     $this->templateEngine = $this->getContainer()->get('template.engine');
 }
Example #2
0
 /**
  * @param \Amp\Application $app
  * @param string|null $name
  */
 public function __construct(\Amp\Application $app, $name = NULL)
 {
     $this->fs = new Filesystem();
     parent::__construct($app, $name);
 }
 /**
  * @param \Amp\Application $app
  * @param string|null $name
  * @param ConfigRepository $config
  */
 public function __construct(\Amp\Application $app, $name = NULL, ConfigRepository $config = NULL)
 {
     $this->config = $config;
     parent::__construct($app, $name);
 }
Example #4
0
 /**
  * @param \Amp\Application $app
  * @param string|null $name
  * @param array $parameters list of configuration parameters to accept ($key => $label)
  */
 public function __construct(\Amp\Application $app, $name = NULL, InstanceRepository $instances)
 {
     $this->instances = $instances;
     $this->fs = new Filesystem();
     parent::__construct($app, $name);
 }
Example #5
0
 /**
  * @param \Amp\Application $app
  * @param string|null $name
  */
 public function __construct(\Amp\Application $app, $name = NULL)
 {
     parent::__construct($app, $name);
 }
Example #6
0
 /**
  * @param \Amp\Application $app
  * @param string|null $name
  * @param PermissionInterface $perm)
  */
 public function __construct(\Amp\Application $app, $name = NULL, PermissionInterface $perm)
 {
     $this->fs = new Filesystem();
     $this->perm = $perm;
     parent::__construct($app, $name);
 }