PHP Класс Owl\Console\Commands\ExportCommand

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

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

Свойство Тип Описание
$description string The console command description.
$itemService
$name string The console command name.

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

Метод Описание
__construct ( ItemService $itemService ) : void Create a new command instance.
fire ( ) : mixed Execute the console command.

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

Метод Описание
exportData ( $export_path, $items )
generateOutputBody ( $data )
makeExportDir ( $export_path )

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

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

Create a new command instance.
public __construct ( ItemService $itemService ) : void
$itemService Owl\Services\ItemService
Результат void

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

protected exportData ( $export_path, $items )

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

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

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

protected generateOutputBody ( $data )

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

protected makeExportDir ( $export_path )

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

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

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

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

protected $itemService

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

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