use Symfony\Component\Console\Application;
use Symfony\Component\Console\Command\Command;
+use Symfony\Component\Console\Exception\InvalidArgumentException;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputDefinition;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
-use Symfony\Component\Console\Exception\InvalidArgumentException;
/**
* @author Jean-François Simon <jeanfrancois.simon@sensiolabs.com>
$this->describeApplication($object, $options);
break;
default:
- throw new InvalidArgumentException(sprintf('Object of type "%s" is not describable.', get_class($object)));
+ throw new InvalidArgumentException(sprintf('Object of type "%s" is not describable.', \get_class($object)));
}
}
/**
* Describes an InputArgument instance.
*
- * @param InputArgument $argument
- * @param array $options
- *
* @return string|mixed
*/
abstract protected function describeInputArgument(InputArgument $argument, array $options = array());
/**
* Describes an InputOption instance.
*
- * @param InputOption $option
- * @param array $options
- *
* @return string|mixed
*/
abstract protected function describeInputOption(InputOption $option, array $options = array());
/**
* Describes an InputDefinition instance.
*
- * @param InputDefinition $definition
- * @param array $options
- *
* @return string|mixed
*/
abstract protected function describeInputDefinition(InputDefinition $definition, array $options = array());
/**
* Describes a Command instance.
*
- * @param Command $command
- * @param array $options
- *
* @return string|mixed
*/
abstract protected function describeCommand(Command $command, array $options = array());
/**
* Describes an Application instance.
*
- * @param Application $application
- * @param array $options
- *
* @return string|mixed
*/
abstract protected function describeApplication(Application $application, array $options = array());