Update to Drupal 8.0-dev-2015-11-17. Commits through da81cd220, Tue Nov 17 15:53:49 2015 +0000, Issue #2617224 by Wim Leers: Move around/fix some documentation.
This commit is contained in:
parent
4afb23bbd3
commit
7784f4c23d
929 changed files with 19798 additions and 5304 deletions
40
vendor/symfony/console/Application.php
vendored
40
vendor/symfony/console/Application.php
vendored
|
@ -54,8 +54,6 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
|||
* $app->run();
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
class Application
|
||||
{
|
||||
|
@ -77,8 +75,6 @@ class Application
|
|||
*
|
||||
* @param string $name The name of the application
|
||||
* @param string $version The version of the application
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function __construct($name = 'UNKNOWN', $version = 'UNKNOWN')
|
||||
{
|
||||
|
@ -107,8 +103,6 @@ class Application
|
|||
* @return int 0 if everything went fine, or an error code
|
||||
*
|
||||
* @throws \Exception When doRun returns Exception
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function run(InputInterface $input = null, OutputInterface $output = null)
|
||||
{
|
||||
|
@ -202,8 +196,6 @@ class Application
|
|||
* Set a helper set to be used with the command.
|
||||
*
|
||||
* @param HelperSet $helperSet The helper set
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function setHelperSet(HelperSet $helperSet)
|
||||
{
|
||||
|
@ -214,8 +206,6 @@ class Application
|
|||
* Get the helper set associated with the command.
|
||||
*
|
||||
* @return HelperSet The HelperSet instance associated with this command
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function getHelperSet()
|
||||
{
|
||||
|
@ -226,8 +216,6 @@ class Application
|
|||
* Set an input definition set to be used with this application.
|
||||
*
|
||||
* @param InputDefinition $definition The input definition
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function setDefinition(InputDefinition $definition)
|
||||
{
|
||||
|
@ -258,8 +246,6 @@ class Application
|
|||
* Sets whether to catch exceptions or not during commands execution.
|
||||
*
|
||||
* @param bool $boolean Whether to catch exceptions or not during commands execution
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function setCatchExceptions($boolean)
|
||||
{
|
||||
|
@ -270,8 +256,6 @@ class Application
|
|||
* Sets whether to automatically exit after a command execution or not.
|
||||
*
|
||||
* @param bool $boolean Whether to automatically exit after a command execution or not
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function setAutoExit($boolean)
|
||||
{
|
||||
|
@ -282,8 +266,6 @@ class Application
|
|||
* Gets the name of the application.
|
||||
*
|
||||
* @return string The application name
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function getName()
|
||||
{
|
||||
|
@ -294,8 +276,6 @@ class Application
|
|||
* Sets the application name.
|
||||
*
|
||||
* @param string $name The application name
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function setName($name)
|
||||
{
|
||||
|
@ -306,8 +286,6 @@ class Application
|
|||
* Gets the application version.
|
||||
*
|
||||
* @return string The application version
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function getVersion()
|
||||
{
|
||||
|
@ -318,8 +296,6 @@ class Application
|
|||
* Sets the application version.
|
||||
*
|
||||
* @param string $version The application version
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function setVersion($version)
|
||||
{
|
||||
|
@ -330,8 +306,6 @@ class Application
|
|||
* Returns the long version of the application.
|
||||
*
|
||||
* @return string The long application version
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function getLongVersion()
|
||||
{
|
||||
|
@ -348,8 +322,6 @@ class Application
|
|||
* @param string $name The command name
|
||||
*
|
||||
* @return Command The newly created command
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function register($name)
|
||||
{
|
||||
|
@ -360,8 +332,6 @@ class Application
|
|||
* Adds an array of command objects.
|
||||
*
|
||||
* @param Command[] $commands An array of commands
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function addCommands(array $commands)
|
||||
{
|
||||
|
@ -378,8 +348,6 @@ class Application
|
|||
* @param Command $command A Command object
|
||||
*
|
||||
* @return Command The registered command
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function add(Command $command)
|
||||
{
|
||||
|
@ -412,8 +380,6 @@ class Application
|
|||
* @return Command A Command object
|
||||
*
|
||||
* @throws \InvalidArgumentException When command name given does not exist
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function get($name)
|
||||
{
|
||||
|
@ -441,8 +407,6 @@ class Application
|
|||
* @param string $name The command name or alias
|
||||
*
|
||||
* @return bool true if the command exists, false otherwise
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function has($name)
|
||||
{
|
||||
|
@ -520,8 +484,6 @@ class Application
|
|||
* @return Command A Command instance
|
||||
*
|
||||
* @throws \InvalidArgumentException When command name is incorrect or ambiguous
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function find($name)
|
||||
{
|
||||
|
@ -577,8 +539,6 @@ class Application
|
|||
* @param string $namespace A namespace name
|
||||
*
|
||||
* @return Command[] An array of Command instances
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function all($namespace = null)
|
||||
{
|
||||
|
|
Reference in a new issue