/** * Create a new EditorFieldTypePresenter instance. * * @param Str $str * @param Factory $view * @param Template $template * @param $object */ public function __construct(Str $str, Factory $view, Template $template, $object) { $this->str = $str; $this->view = $view; $this->template = $template; parent::__construct($object); }
/** * Create a new UrlFieldTypePresenter instance. * * @param HtmlBuilder $html * @param $object */ public function __construct(HtmlBuilder $html, $object) { $this->html = $html; parent::__construct($object); }
/** * Create a new EncryptedFieldTypePresenter instance. * * @param Encrypter $encrypter * @param $object */ public function __construct(Encrypter $encrypter, $object) { $this->encrypter = $encrypter; parent::__construct($object); }
/** * Create a new MarkdownFieldTypePresenter instance. * * @param Template $template * @param Markdown $markdown * @param $object */ public function __construct(Template $template, Markdown $markdown, $object) { $this->template = $template; $this->markdown = $markdown; parent::__construct($object); }
/** * Create a new EncryptedFieldTypePresenter instance. * * @param $object */ public function __construct($object) { // Workaround for deprecated class in 5.1 $this->encrypter = app('Illuminate\\Encryption\\Encrypter'); parent::__construct($object); }
/** * Create a new TextareaFieldTypePresenter instance. * * @param mixed $object */ public function __construct(Yaml $yaml, $object) { $this->yaml = $yaml; parent::__construct($object); }