public function __construct(Router $router)
 {
     parent::__construct($router);
 }
Пример #2
0
 /**
  * Create a new resource registrar instance.
  *
  * @param  \Illuminate\Routing\Router  $router
  * @return void
  */
 public function __construct(Router $router, LanguageRepository $languageRepository)
 {
     parent::__construct($router);
     $this->languageRepository = $languageRepository;
 }