Command deprecated::cmd()

Command cmd(string $esc) Appends escaped special command chars. Parameters string $esc Return Value Command The current Command instance

Command deprecated::execute()

array execute() Executes current command. Return Value array The command result Exceptions RuntimeException

Command deprecated::end()

Command end() Returns parent command (if any). Return Value Command Parent command Exceptions RuntimeException If command has no parent

Command deprecated::create()

static Command create(Command $parent = null) Creates a new Command instance. Parameters Command $parent Parent command Return Value Command New Command instance

Command deprecated::arg()

Command arg(string $arg) Appends an argument, will be quoted. Parameters string $arg Return Value Command The current Command instance

Command deprecated::add()

Command add(string|Command $bit) Appends a string or a Command instance. Parameters string|Command $bit Return Value Command The current Command instance

Command deprecated::addAtIndex()

Command addAtIndex(string|Command $bit, int $index) Insert a string or a Command instance before the bit at given position $index (index starts from 0). Parameters string|Command $bit int $index Return Value Command The current Command instance

Command deprecated

class Command deprecated since 2.8, to be removed in 3.0. Methods __construct(Command $parent = null) Constructor. string __toString() Returns command as string. static Command create(Command $parent = null) Creates a new Command instance. static string escape(string $input) Escapes special chars from input. static string quote(string $input) Quotes input. Command add(string|Command $bit) Appends a string or a Command instance. Command top(string|Command $

Command

class Command Base class for all commands. Methods __construct(string|null $name = null) Constructor. ignoreValidationErrors() Ignores validation errors. setApplication(Application $application = null) Sets the application instance for this command. setHelperSet(HelperSet $helperSet) Sets the helper set. HelperSet getHelperSet() Gets the helper set. Application getApplication() Gets the application instance for this command. bool isEnabled() Checks whether t

Command

class Command extends PHPUnit_TextUI_Command {@inheritdoc}