コード例 #1
0
ファイル: MigrateCommand.php プロジェクト: ardyn/zipcode
 /**
  * Constructor
  *
  * @access public
  * @param \Illuminate\Config\Repository $config
  * @param \Ardyn\Zipcode\Artisan\MigrationBuilder $builder
  * @return void
  */
 public function __construct(Config $config, Builder $builder, Publisher $publisher)
 {
     parent::__construct($config);
     $this->builder = $builder;
     $this->publisher = $publisher;
 }
コード例 #2
0
ファイル: SeedCommand.php プロジェクト: ardyn/zipcode
 /**
  * Constructor
  *
  * @access public
  * @param \Illuminate\Config\Repository $config
  * @param \Ardyn\Zipcode\Artisan\DatabaseSeeder $seeder
  * @return void
  */
 public function __construct(Config $config, DatabaseSeeder $seeder)
 {
     parent::__construct($config);
     $this->seeder = $seeder;
 }