src/Commands/Command.php
protected function _createOption($option, $value)
	{
		if(!class_exists($option))
		{
			throw new InvalidOptionValueException('Option class "' . $option . '" not found.');
		}
		$class = new $option();
		return $this->_validateOptionInterface($class)->_validateOption($class)->getOption($value);
	}
protected function _createOption($option, $value)
	{
		if(!class_exists($option))
		{
			throw new InvalidOptionValueException('Option class "' . $option . '" not found.');
		}
		$class = new $option();
		return $this->_validateOptionInterface($class)->_validateOption($class)->getOption($value);
	}
Creates an option and return it.

@param string $option Full qualified class name.
@param mixed  $value  Option value.

@return string
@throws InvalidOptionValueException