PHP Class Dingo\Api\Console\Command\Cache

Inheritance: extends Illuminate\Console\Command
Show file Open project: dingo/api

Public Properties

Property Type Description
$description string The console command description.
$signature string The name and signature of the console command.

Protected Properties

Property Type Description
$files Illuminate\Filesystem\Filesystem Filesystem instance.

Public Methods

Method Description
__construct ( Illuminate\Filesystem\Filesystem $files ) : void Create a new cache command instance.
handle ( ) : mixed Execute the console command.

Protected Methods

Method Description
getFreshApplication ( ) : Illuminate\Contracts\Container\Container Get a fresh application instance.

Method Details

__construct() public method

Create a new cache command instance.
public __construct ( Illuminate\Filesystem\Filesystem $files ) : void
$files Illuminate\Filesystem\Filesystem
return void

getFreshApplication() protected method

Get a fresh application instance.
protected getFreshApplication ( ) : Illuminate\Contracts\Container\Container
return Illuminate\Contracts\Container\Container

handle() public method

Execute the console command.
public handle ( ) : mixed
return mixed

Property Details

$description public property

The console command description.
public string $description
return string

$files protected property

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

$signature public property

The name and signature of the console command.
public string $signature
return string