Esempio n. 1
0
 /**
  * Create a new FilePresenter instance.
  *
  * @param UrlGenerator $url
  * @param Request      $request
  * @param Repository   $config
  * @param              $object
  */
 public function __construct(UrlGenerator $url, Request $request, Repository $config, $object)
 {
     $this->url = $url;
     $this->config = $config;
     $this->request = $request;
     parent::__construct($object);
 }
Esempio n. 2
0
 /**
  * Create a new PostPresenter instance.
  *
  * @param HtmlBuilder                $html
  * @param SettingRepositoryInterface $settings
  * @param                            $object
  */
 public function __construct(HtmlBuilder $html, SettingRepositoryInterface $settings, $object)
 {
     $this->html = $html;
     $this->settings = $settings;
     parent::__construct($object);
 }
Esempio n. 3
0
 /**
  * Create a new PostPresenter instance.
  *
  * @param HtmlBuilder $html
  * @param Repository  $config
  * @param             $object
  */
 public function __construct(HtmlBuilder $html, Repository $config, $object)
 {
     $this->html = $html;
     $this->config = $config;
     parent::__construct($object);
 }