Beispiel #1
0
 /**
  * Create a new Loader instance.
  *
  * @param Filesystem $files
  * @param string     $path
  */
 public function __construct(Filesystem $files, $path)
 {
     $this->application = app(Application::class);
     parent::__construct($files, $path);
 }
Beispiel #2
0
 /**
  * Create a new file loader instance.
  *
  * @param \Illuminate\Filesystem\Filesystem $files
  * @param array                             $path
  */
 public function __construct(Filesystem $files, $path, $paths = [])
 {
     $this->paths = $paths;
     parent::__construct($files, $path);
 }
Beispiel #3
0
 /**
  * Create a new file loader instance.
  *
  * @param  \Illuminate\Filesystem\Filesystem  $files
  * @param  string                             $path
  * @param  string                             $vendorPath
  * @param  array                              $locales
  */
 public function __construct(Filesystem $files, $path, $vendorPath, array $locales = [])
 {
     parent::__construct($files, $path);
     $this->setVendorPath($vendorPath);
     $this->setSupportedLocales($locales);
 }
 /**
  * Create a new file loader instance.
  *
  * @param  \Illuminate\Filesystem\Filesystem  $files
  * @param  string  $path
  * @return void
  */
 public function __construct(Filesystem $files, $path, $multiLangPath)
 {
     $this->multiLangPath = $multiLangPath;
     parent::__construct($files, $path);
 }