protected function _instance($name, array $config = []) {
		if ($class = Libraries::locate('command.create', Inflector::camelize($name))) {
			$this->request->params['template'] = $this->template;

			return new $class([
				'request' => $this->request,
				'classes' => $this->_classes
			]);
		}
		return parent::_instance($name, $config);
	}
protected function _instance($name, array $config = []) {
		if ($class = Libraries::locate('command.create', Inflector::camelize($name))) {
			$this->request->params['template'] = $this->template;

			return new $class([
				'request' => $this->request,
				'classes' => $this->_classes
			]);
		}
		return parent::_instance($name, $config);
	}
protected function _instance ( $ name , array $ config = [ ] ) { if ( $ class = Libraries :: locate ( 'command.create' , Inflector :: camelize ( $ name ) ) ) { $ this -> request -> params [ 'template' ] = $ this -> template ; return new $ class ( [ 'request' => $ this -> request , 'classes' => $ this -> _classes ] ) ; } return parent :: _instance ( $ name , $ config ) ; }
Get an instance of a sub-command

@param string $name the name of the sub-command to instantiate
@param array $config
@return object
Get an instance of a sub - command