Application::doRun()

int doRun(InputInterface $input, OutputInterface $output) Runs the current application. Parameters InputInterface $input An Input instance OutputInterface $output An Output instance Return Value int 0 if everything went fine, or an error code

Application::areExceptionsCaught()

bool areExceptionsCaught() Gets whether to catch exceptions or not during commands execution. Return Value bool Whether to catch exceptions or not during commands execution

Application::all()

Command[] all(string $namespace = null) Gets the commands (registered in the given namespace if provided). The array keys are the full names and the values the command instances. Parameters string $namespace A namespace name Return Value Command[] An array of Command instances

Application::all()

Command[] all(string $namespace = null) Gets the commands (registered in the given namespace if provided). The array keys are the full names and the values the command instances. Parameters string $namespace A namespace name Return Value Command[] An array of Command instances

Application::addCommands()

addCommands(array $commands) Adds an array of command objects. If a Command is not enabled it will not be added. Parameters array $commands An array of commands

Application::add()

Command|null add(Command $command) Adds a command object. If a command with the same name already exists, it will be overridden. If the command is not enabled it will not be added. Parameters Command $command A Command object Return Value Command|null The registered command if enabled or null

Application

class Application An Application is the container for a collection of commands. It is the main entry point of a Console application. This class is optimized for a standard CLI environment. Usage: $app = new Application('myapp', '1.0 (stable)'); $app->add(new SimpleCommand()); $app->run(); Methods __construct(string $name = 'UNKNOWN', string $version = 'UNKNOWN') Constructor. setDispatcher(EventDispatcherInterface $dispatcher) int run(InputInterface $input = null, Output

Application

class Application extends Application Application. Methods __construct(KernelInterface $kernel) Constructor. setDispatcher(EventDispatcherInterface $dispatcher) from Application int run(InputInterface $input = null, OutputInterface $output = null) Runs the current application. from Application int doRun(InputInterface $input, OutputInterface $output) Runs the current application. setHelperSet(HelperSet $helperSet) Set a helper set to be used with the command. from App

ApcUniversalClassLoader deprecated

class ApcUniversalClassLoader extends UniversalClassLoader deprecated since version 2.4, to be removed in 3.0. Use the {@link ClassLoader} class instead. ApcUniversalClassLoader implements a "universal" autoloader cached in APC for PHP 5.3. It is able to load classes that use either: The technical interoperability standards for PHP 5.3 namespaces and class names (https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md); The PEAR naming convention for classes (http://pear.p

ApcuAdapter

class ApcuAdapter extends AbstractAdapter Traits LoggerAwareTrait Methods static createSystemCache($namespace, $defaultLifetime, $version, $directory, LoggerInterface $logger = null) from AbstractAdapter getItem($key) {@inheritdoc} from AbstractAdapter getItems(array $keys = array()) {@inheritdoc} from AbstractAdapter hasItem($key) {@inheritdoc} from AbstractAdapter clear() {@inheritdoc} from AbstractAdapter deleteItem($key) {@inheritdoc} from AbstractAdapter