PHP Class EloquentFilter\Commands\MakeEloquentFilter

Inheritance: extends Illuminate\Console\Command, use trait Illuminate\Console\AppNamespaceDetectorTrait
Afficher le fichier Open project: tucker-eric/eloquentfilter

Protected Properties

Свойство Type Description
$class array | string Class to create.
$description string The console command description.
$files Illuminate\Filesystem\Filesystem The filesystem instance.
$signature string The name and signature of the console command.

Méthodes publiques

Méthode Description
__construct ( Illuminate\Filesystem\Filesystem $files ) MakeEloquentFilter constructor.
applyValuesToStub ( $stub )
compileStub ( )
getPath ( )
handle ( ) : mixed Execute the console command.
makeClassName ( ) Create Filter Class Name.

Méthodes protégées

Méthode Description
makeDirectory ( string $path ) : string Build the directory for the class if necessary.

Method Details

__construct() public méthode

MakeEloquentFilter constructor.
public __construct ( Illuminate\Filesystem\Filesystem $files )
$files Illuminate\Filesystem\Filesystem

applyValuesToStub() public méthode

public applyValuesToStub ( $stub )

compileStub() public méthode

public compileStub ( )

getPath() public méthode

public getPath ( )

handle() public méthode

Execute the console command.
public handle ( ) : mixed
Résultat mixed

makeClassName() public méthode

Create Filter Class Name.
public makeClassName ( )

makeDirectory() protected méthode

Build the directory for the class if necessary.
protected makeDirectory ( string $path ) : string
$path string
Résultat string

Property Details

$class protected_oe property

Class to create.
protected array|string $class
Résultat array | string

$description protected_oe property

The console command description.
protected string $description
Résultat string

$files protected_oe property

The filesystem instance.
protected Filesystem,Illuminate\Filesystem $files
Résultat Illuminate\Filesystem\Filesystem

$signature protected_oe property

The name and signature of the console command.
protected string $signature
Résultat string