PHP Класс App\Console\Commands\ThemeMake

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

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

Свойство Тип Описание
$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