PHP Class OwenIt\Auditing\Console\AuditingTableCommand

Inheritance: extends Illuminate\Console\Command
Show file Open project: owen-it/laravel-auditing

Protected Properties

Property Type Description
$composer Illuminate\Support\Composer
$description string The console command description.
$files Illuminate\Filesystem\Filesystem The filesystem instance.
$name string The console command name.

Public Methods

Method Description
__construct ( Illuminate\Filesystem\Filesystem $files, Illuminate\Support\Composer $composer ) : void Create a new audits table command instance.
fire ( ) : void Execute the console command.

Protected Methods

Method Description
createBaseMigration ( ) : string Create a base migration file for the audits.

Method Details

__construct() public method

Create a new audits table command instance.
public __construct ( Illuminate\Filesystem\Filesystem $files, Illuminate\Support\Composer $composer ) : void
$files Illuminate\Filesystem\Filesystem
$composer Illuminate\Support\Composer
return void

createBaseMigration() protected method

Create a base migration file for the audits.
protected createBaseMigration ( ) : string
return string

fire() public method

Execute the console command.
public fire ( ) : void
return void

Property Details

$composer protected property

protected Composer,Illuminate\Support $composer
return Illuminate\Support\Composer

$description protected property

The console command description.
protected string $description
return string

$files protected property

The filesystem instance.
protected Filesystem,Illuminate\Filesystem $files
return Illuminate\Filesystem\Filesystem

$name protected property

The console command name.
protected string $name
return string