OwenIt\Auditing\Console\InstallCommand::fire PHP 메소드

fire() 공개 메소드

Execute the console command.
public fire ( ) : void
리턴 void
    public function fire()
    {
        $this->info('Publishing the config files');
        Artisan::call('vendor:publish', ['--provider' => 'OwenIt\\Auditing\\AuditingServiceProvider']);
        $this->info('Publishing the migration file');
        Artisan::call('auditing:table');
        $this->info('Successfully installed Laravel Auditing! Enjoy :)');
    }
InstallCommand