Пример #1
0
 /**
  * InstallCommand constructor.
  * @param \Illuminate\Contracts\Foundation\Application $application
  * @param \Illuminate\Filesystem\Filesystem $filesystem
  */
 public function __construct(Application $application, Filesystem $filesystem)
 {
     parent::__construct();
     $this->notadd = $application;
     $this->config = $this->notadd->make('config');
     $this->data = Collection::make();
     $this->filesystem = $filesystem;
     $this->setting = $this->notadd->make('setting');
 }
 /**
  * ConfigClearCommand constructor.
  * @param \Illuminate\Filesystem\Filesystem $files
  */
 public function __construct(Filesystem $files)
 {
     parent::__construct();
     $this->files = $files;
 }
 /**
  * SessionTableCommand constructor.
  * @param \Illuminate\Filesystem\Filesystem $files
  * @param \Notadd\Foundation\Composer\Composer $composer
  */
 public function __construct(Filesystem $files, Composer $composer)
 {
     parent::__construct();
     $this->files = $files;
     $this->composer = $composer;
 }
Пример #4
0
 /**
  * RouteListCommand constructor.
  * @param \Illuminate\Routing\Router $router
  */
 public function __construct(Router $router)
 {
     parent::__construct();
     $this->router = $router;
     $this->routes = $router->getRoutes();
 }
Пример #5
0
 /**
  * ResetCommand constructor.
  * @param \Notadd\Foundation\Database\Migrations\Migrator $migrator
  */
 public function __construct(Migrator $migrator)
 {
     parent::__construct();
     $this->migrator = $migrator;
 }
Пример #6
0
 /**
  * InstallCommand constructor.
  * @param \Notadd\Foundation\Database\Migrations\MigrationRepositoryInterface $repository
  */
 public function __construct(MigrationRepositoryInterface $repository)
 {
     parent::__construct();
     $this->repository = $repository;
 }
Пример #7
0
 /**
  * SeedCommand constructor.
  * @param \Notadd\Foundation\Database\ConnectionResolverInterface $resolver
  */
 public function __construct(Resolver $resolver)
 {
     parent::__construct();
     $this->resolver = $resolver;
 }
Пример #8
0
 /**
  * ClearCommand constructor.
  * @param \Illuminate\Cache\CacheManager $cache
  */
 public function __construct(CacheManager $cache)
 {
     parent::__construct();
     $this->cache = $cache;
 }