PHP 클래스 Owl\Console\Commands\ExportCommand

상속: extends Illuminate\Console\Command
파일 보기 프로젝트 열기: owl/owl

보호된 프로퍼티들

프로퍼티 타입 설명
$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