PHP Класс EloquentFilter\Commands\MakeEloquentFilter

Наследование: extends Illuminate\Console\Command, use trait Illuminate\Console\AppNamespaceDetectorTrait
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Открытые методы

Метод Описание
__construct ( Illuminate\Filesystem\Filesystem $files ) MakeEloquentFilter constructor.
applyValuesToStub ( $stub )
compileStub ( )
getPath ( )
handle ( ) : mixed Execute the console command.
makeClassName ( ) Create Filter Class Name.

Защищенные методы

Метод Описание
makeDirectory ( string $path ) : string Build the directory for the class if necessary.

Описание методов

__construct() публичный Метод

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

applyValuesToStub() публичный Метод

public applyValuesToStub ( $stub )

compileStub() публичный Метод

public compileStub ( )

getPath() публичный Метод

public getPath ( )

handle() публичный Метод

Execute the console command.
public handle ( ) : mixed
Результат mixed

makeClassName() публичный Метод

Create Filter Class Name.
public makeClassName ( )

makeDirectory() защищенный Метод

Build the directory for the class if necessary.
protected makeDirectory ( string $path ) : string
$path string
Результат string

Описание свойств

$class защищенное свойство

Class to create.
protected array|string $class
Результат array | string

$description защищенное свойство

The console command description.
protected string $description
Результат string

$files защищенное свойство

The filesystem instance.
protected Filesystem,Illuminate\Filesystem $files
Результат Illuminate\Filesystem\Filesystem

$signature защищенное свойство

The name and signature of the console command.
protected string $signature
Результат string