PHP 클래스 App\Console\Commands\ThemeMake

상속: 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
copyThemeDirectory ( )
findComposer ( ) : string findComposer
getPath ( ) : PluginEntity get theme directory
getPlugin ( ) : PluginEntity getTargetPlugin
getStub ( $filename ) : string Get the stub file for the generator.
getThemeDescription ( $id, PluginEntity $plugin ) : array | string getThemeDescription
getThemeFile ( PluginEntity $plugin, $path, $themeClass ) : array | string getThemeFile
getThemeId ( PluginEntity $plugin, $class ) : array | string getThemeId
getThemeTitle ( ) : array | string getThemeTitle
makeDirectory ( $path ) : void makeDirectory
makeThemeClass ( ) makeThemeClass
registerTheme ( ) : integer registerTheme
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

copyThemeDirectory() 보호된 메소드

protected copyThemeDirectory ( )

findComposer() 보호된 메소드

findComposer
protected findComposer ( ) : string
리턴 string

fire() 공개 메소드

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

getPath() 보호된 메소드

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

getPlugin() 보호된 메소드

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

getStub() 보호된 메소드

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

getThemeDescription() 보호된 메소드

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

getThemeFile() 보호된 메소드

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

getThemeId() 보호된 메소드

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

getThemeTitle() 보호된 메소드

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

makeDirectory() 보호된 메소드

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

makeThemeClass() 보호된 메소드

makeThemeClass
protected makeThemeClass ( )

registerTheme() 보호된 메소드

registerTheme
protected registerTheme ( ) : 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