Property | Type | Description | |
---|---|---|---|
$component | string | Name of the component | |
$composer | stdClass | Parsed contents of composer.json | |
$input | JInput | Input coming from the CLI |
Method | Description | |
---|---|---|
__construct ( $composer, $input ) | ||
execute ( ) | This is where we execute the whole logic of the command | |
setDevServer ( boolean $force = false ) | Load the Joomla Configuration from a dev site |
Method | Description | |
---|---|---|
getComponent ( object $composer ) : string | Get the Component name from the composer file | |
getComponentName ( $composer ) : string | Get the component's name from the user | |
getViewName ( object $input ) : string | Get the view name from the input | |
in ( ) | Proxy the in() call to the application | |
out ( string $content ) : JApplicationCli | Proxy the out() call to the application |
abstract public execute ( ) |
protected getComponent ( object $composer ) : string | ||
$composer | object | The composer.json info |
return | string | The component name |
protected getComponentName ( $composer ) : string | ||
return | string | The name of the component (com_foobar) |
protected getViewName ( object $input ) : string | ||
$input | object | The input object |
return | string | The view name |
public setDevServer ( boolean $force = false ) | ||
$force | boolean | Should we ask the user even if we have a .fof file? |
protected stdClass $composer | ||
return | stdClass |