Class BaseShellHelper
CakePHP(tm) : Rapid Development Framework (https://cakephp.org) Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
Licensed under The MIT License For full copyright and license information, please see the LICENSE.txt Redistributions of files must retain the above copyright notice.
Direct Subclasses
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
Link: CakePHP(tm) Project
Since: 2.8
License: MIT License
Location: Cake/Console/Helper/BaseShellHelper.php
Properties summary
-
$_config
protectedRuntime configarray
-
$_configInitialized
protectedWhether the config property has already been configured with defaultsboolean
-
$_consoleOutput
protected -
$_defaultConfig
protectedDefault config for this helper.array
Method Summary
- __construct() publicConstructor.
- config() publicInitialize config & store config values
- This method should output content using
$this->_consoleOutput
.
Method Detail
__construct()source public
__construct( ConsoleOutput $consoleOutput , array $config array() )
Constructor.
Parameters
-
ConsoleOutput
$consoleOutput
- The ConsoleOutput instance to use.
- array
$config
optional array() - The settings for this helper.
config()source public
config( null $config null )
Initialize config & store config values
Parameters
- null
$config
optional null - Config values to set
Returns
array|output()source abstract public
output( array $args )
This method should output content using $this->_consoleOutput
.
Parameters
- array
$args
- The arguments for the helper.
Properties detail
$_configInitializedsource
protected boolean
Whether the config property has already been configured with defaults
false
© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/2.10/class-BaseShellHelper.html