Example #1
0
 /**
  * Constructor.
  *
  * @param Request $request
  */
 public function __construct(Request $request, $basePath, $publicPath)
 {
     parent::__construct();
     $this->request = $request;
     $this->basePath = $basePath;
     $this->publicPath = $publicPath;
 }
Example #2
0
 /**
  * Laravel translator service instance.
  *
  * @var Translator
  */
 public function __construct(Translator $translator)
 {
     $this->translator = $translator;
     parent::__construct();
 }
 /**
  * Constructor.
  *
  * @param ViewFactory $view
  */
 public function __construct(ViewFactory $view)
 {
     parent::__construct();
     $this->view = $view;
 }