PHP 클래스 Laravelista\LumenVendorPublish\VendorPublishCommand

상속: extends Illuminate\Console\Command
파일 보기 프로젝트 열기: basicit/lumen-vendor-publish

보호된 프로퍼티들

프로퍼티 타입 설명
$description string The console command description.
$files Illuminate\Filesystem\Filesystem The filesystem instance.
$signature string The console command signature.

공개 메소드들

메소드 설명
__construct ( Illuminate\Filesystem\Filesystem $files ) : void Create a new command instance.
fire ( ) : void Execute the console command.

보호된 메소드들

메소드 설명
createParentDirectory ( string $directory ) : void Create the directory to house the published files if needed.
publishDirectory ( string $from, string $to ) : void Publish the directory to the given directory.
publishFile ( string $from, string $to ) : void Publish the file to the given path.
status ( string $from, string $to, string $type ) : void Write a status message to the console.

비공개 메소드들

메소드 설명
publishTag ( string $tag ) : mixed Publishes the assets for a tag.

메소드 상세

__construct() 공개 메소드

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

createParentDirectory() 보호된 메소드

Create the directory to house the published files if needed.
protected createParentDirectory ( string $directory ) : void
$directory string
리턴 void

fire() 공개 메소드

Execute the console command.
public fire ( ) : void
리턴 void

publishDirectory() 보호된 메소드

Publish the directory to the given directory.
protected publishDirectory ( string $from, string $to ) : void
$from string
$to string
리턴 void

publishFile() 보호된 메소드

Publish the file to the given path.
protected publishFile ( string $from, string $to ) : void
$from string
$to string
리턴 void

status() 보호된 메소드

Write a status message to the console.
protected status ( string $from, string $to, string $type ) : void
$from string
$to string
$type string
리턴 void

프로퍼티 상세

$description 보호되어 있는 프로퍼티

The console command description.
protected string $description
리턴 string

$files 보호되어 있는 프로퍼티

The filesystem instance.
protected Filesystem,Illuminate\Filesystem $files
리턴 Illuminate\Filesystem\Filesystem

$signature 보호되어 있는 프로퍼티

The console command signature.
protected string $signature
리턴 string