コード例 #1
0
ファイル: ExportCommand.php プロジェクト: totten/git-scan
 /**
  * @param string|null $name
  */
 public function __construct($name = NULL)
 {
     $this->fs = new Filesystem();
     parent::__construct($name);
 }
コード例 #2
0
ファイル: MigrateCommand.php プロジェクト: artesaos/migrator
 /**
  * Create a new migration command instance.
  *
  * @param  \Migrator\Migrator  $migrator
  */
 public function __construct(Migrator $migrator)
 {
     parent::__construct();
     $this->migrator = $migrator;
 }
コード例 #3
0
 /**
  * Constructs a FieldFormSavedCommand object.
  *
  * @param string $data
  *   The re-rendered edited field to pass on to the client side.
  * @param array $other_view_modes
  *   The same re-rendered edited field, but in different view modes, for other
  *   instances of the same field on the user's page. Keyed by view mode.
  */
 public function __construct($data, $other_view_modes = array())
 {
     parent::__construct('quickeditFieldFormSaved', $data);
     $this->other_view_modes = $other_view_modes;
 }
コード例 #4
0
ファイル: SuperuserCommand.php プロジェクト: ipunkt/roles
 /**
  * Create a new command instance.
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->roleRepository = App::make('Ipunkt\\Roles\\Roles\\RoleRepositoryInterface');
     $this->userRepository = App::make('Ipunkt\\Roles\\Users\\UserRepositoryInterface');
 }
コード例 #5
0
ファイル: ResourceListCommand.php プロジェクト: ipunkt/roles
 /**
  * Create a new command instance.
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
 }
コード例 #6
0
 /**
  * Create a new migration install command instance.
  *
  * @param  \Migrator\MigrationCreator  $creator
  * @param  \Illuminate\Support\Composer|\Illuminate\Foundation\Composer  $composer
  */
 public function __construct(MigrationCreator $creator, $composer)
 {
     parent::__construct();
     $this->creator = $creator;
     $this->composer = $composer;
 }
コード例 #7
0
 /**
  * Constructs a FieldFormCommand object.
  *
  * @param string $data
  *   The data to pass on to the client side.
  */
 public function __construct($data)
 {
     parent::__construct('quickeditFieldForm', $data);
 }
コード例 #8
0
ファイル: InstallCommand.php プロジェクト: artesaos/migrator
 /**
  * Create a new migration install command instance.
  *
  * @param  \Migrator\MigrationRepositoryInterface  $repository
  */
 public function __construct(MigrationRepositoryInterface $repository)
 {
     parent::__construct();
     $this->repository = $repository;
 }
 /**
  * Constructs a FieldFormValidationErrorsCommand object.
  *
  * @param string $data
  *   The data to pass on to the client side.
  */
 public function __construct($data)
 {
     parent::__construct('quickeditFieldFormValidationErrors', $data);
 }
コード例 #10
0
 /**
  * Constructs a EntitySaveCommand object.
  *
  * @param string $data
  *   The data to pass on to the client side.
  */
 public function __construct($data)
 {
     parent::__construct('quickeditEntitySaved', $data);
 }