CoreConsole
class CoreConsole extends Console implements WindwalkerApplicationInterface, DispatcherAwareInterface (View source)
The Console class.
Traits
Methods
getPackage
Method to set property name
registerCommands
Execute the application.
Register default command.
Trigger an event.
Method to set property container
Method to get property Container
getDispatcher
setDispatcher
addMessage
Method to get property Mode
is utilized for reading data from inaccessible members.
Details
in WindwalkerTrait at line line 46
string
getName()
getName
in WindwalkerTrait at line line 68
Structure
getConfig()
getConfig
in WindwalkerTrait at line line 78
void
boot()
boot
at line line 241
AbstractPackage
getPackage(string $name = null)
getPackage
at line line 261
WindwalkerApplicationInterface
addPackage(string $name, AbstractPackage $package)
addPackage
in WindwalkerTrait at line line 322
boolean
isConsole()
isConsole
in WindwalkerTrait at line line 332
boolean
isWeb()
isWeb
at line line 132
CoreConsole
setName(string $name)
Method to set property name
at line line 144
void
registerCommands()
registerCommands
at line line 161
int
execute()
Execute the application.
at line line 188
CoreConsole
registerRootCommand()
Register default command.
at line line 224
EventInterface
triggerEvent(EventInterface|string $event, array $args = array())
Trigger an event.
at line line 275
CoreConsole
setContainer(Container $container)
Method to set property container
at line line 287
Container
getContainer()
Method to get property Container
at line line 297
DispatcherInterface
getDispatcher()
getDispatcher
at line line 309
CoreConsole
setDispatcher(DispatcherInterface $dispatcher)
setDispatcher
at line line 324
WindwalkerApplicationInterface
addMessage(string|array $messages, string $type = null)
addMessage
at line line 369
string
getMode()
Method to get property Mode
at line line 382
mixed
__get($name)
is utilized for reading data from inaccessible members.