PHP 클래스 App\Console\Commands\SkinMake

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

보호된 프로퍼티들

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

공개 메소드들

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

보호된 메소드들

메소드 설명
buildCode ( $stub ) : string buildCode
clean ( ) : void clean
confirmInfo ( ) : boolean confirmInfo
copySkinDirectory ( )
findComposer ( ) : string findComposer
getPath ( ) : PluginEntity get skin directory
getPlugin ( ) : PluginEntity getTargetPlugin
getSkinDescription ( $id, PluginEntity $plugin ) : array | string getSkinDescription
getSkinFile ( PluginEntity $plugin, $path, $skinClass ) : array | string getSkinFile
getSkinId ( PluginEntity $plugin, string $class, string $skinTarget ) : array | string getSkinId
getSkinTarget ( ) : array | string getSkinTarget
getSkinTitle ( ) : array | string getSkinTitle
getStub ( $filename ) : string Get the stub file for the generator.
makeDirectory ( $path ) : void makeDirectory
makeSkinClass ( ) makeSkinClass
registerSkin ( ) : integer registerSkin
replaceCode ( &$stub, $search, $replace ) replaceCode
runComposerDump ( $path )

비공개 메소드들

메소드 설명
attr ( $key ) : mixed attr

메소드 상세

__construct() 공개 메소드

Create a new controller creator command instance.
public __construct ( Illuminate\Filesystem\Filesystem $files )
$files Illuminate\Filesystem\Filesystem

buildCode() 보호된 메소드

buildCode
protected buildCode ( $stub ) : string
$stub
리턴 string

clean() 보호된 메소드

clean
protected clean ( ) : void
리턴 void

confirmInfo() 보호된 메소드

confirmInfo
protected confirmInfo ( ) : boolean
리턴 boolean

copySkinDirectory() 보호된 메소드

protected copySkinDirectory ( )

findComposer() 보호된 메소드

findComposer
protected findComposer ( ) : string
리턴 string

fire() 공개 메소드

Execute the console command.
public fire ( ) : boolean | null
리턴 boolean | null

getPath() 보호된 메소드

get skin directory
protected getPath ( ) : PluginEntity
리턴 Xpressengine\Plugin\PluginEntity

getPlugin() 보호된 메소드

getTargetPlugin
protected getPlugin ( ) : PluginEntity
리턴 Xpressengine\Plugin\PluginEntity

getSkinDescription() 보호된 메소드

getSkinDescription
protected getSkinDescription ( $id, PluginEntity $plugin ) : array | string
$id
$plugin Xpressengine\Plugin\PluginEntity
리턴 array | string

getSkinFile() 보호된 메소드

getSkinFile
protected getSkinFile ( PluginEntity $plugin, $path, $skinClass ) : array | string
$plugin Xpressengine\Plugin\PluginEntity
$path
$skinClass
리턴 array | string

getSkinId() 보호된 메소드

getSkinId
protected getSkinId ( PluginEntity $plugin, string $class, string $skinTarget ) : array | string
$plugin Xpressengine\Plugin\PluginEntity
$class string
$skinTarget string
리턴 array | string

getSkinTarget() 보호된 메소드

getSkinTarget
protected getSkinTarget ( ) : array | string
리턴 array | string

getSkinTitle() 보호된 메소드

getSkinTitle
protected getSkinTitle ( ) : array | string
리턴 array | string

getStub() 보호된 메소드

Get the stub file for the generator.
protected getStub ( $filename ) : string
리턴 string

makeDirectory() 보호된 메소드

makeDirectory
protected makeDirectory ( $path ) : void
$path
리턴 void

makeSkinClass() 보호된 메소드

makeSkinClass
protected makeSkinClass ( )

registerSkin() 보호된 메소드

registerSkin
protected registerSkin ( ) : integer
리턴 integer

replaceCode() 보호된 메소드

replaceCode
protected replaceCode ( &$stub, $search, $replace )
$stub
$search
$replace

runComposerDump() 보호된 메소드

protected runComposerDump ( $path )

프로퍼티 상세

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

protected $attr

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

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

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

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

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

protected $originComposerStr

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

protected $signature