|
@@ -75,9 +75,10 @@ class TaskRegistry extends ObjectRegistry {
|
|
|
*
|
|
*
|
|
|
* @param string $class The classname to create.
|
|
* @param string $class The classname to create.
|
|
|
* @param string $alias The alias of the task.
|
|
* @param string $alias The alias of the task.
|
|
|
|
|
+ * @param array $settings An array of settings to use for the task.
|
|
|
* @return Component The constructed task class.
|
|
* @return Component The constructed task class.
|
|
|
*/
|
|
*/
|
|
|
- protected function _create($class, $alias) {
|
|
|
|
|
|
|
+ protected function _create($class, $alias, $settings) {
|
|
|
return new $class(
|
|
return new $class(
|
|
|
$this->_Shell->stdout,
|
|
$this->_Shell->stdout,
|
|
|
$this->_Shell->stderr,
|
|
$this->_Shell->stderr,
|