/** * @param $template * @param array $args * @param array $calls */ function __construct($template, array $args = [], array $calls = []) { parent::__construct(Mvc5Model::class, [Arg::TEMPLATE => $template, Arg::CONFIG => $args], $calls); }
/** * @param array|\ArrayAccess $services * @param $provider * @param $scope * @param array $calls */ function __construct($services = [], $provider = true, $scope = true, array $calls = []) { parent::__construct(_App::class, [$this->plugins($services, $provider), $provider === true ? new Link() : $provider, $scope], $calls); }
/** * @param string $event * @param array $args * @param array $calls */ function __construct($event, array $args = [], array $calls = []) { parent::__construct(Arg::RESPONSE_DISPATCH, $this->eventArgs($event, $args), $calls); }
/** * @param string $name * @param array $args * @param array $calls */ function __construct($name, array $args = [], array $calls = []) { parent::__construct($name, $args, $calls + [Arg::SERVICE => new Link()]); }