| 1 | <?php namespace Simondubois\UnsplashDownloader; |
||
| 12 | class Application extends SymfonyApplication |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Gets the name of the command based on input. |
||
| 16 | * @param InputInterface $input The input interface |
||
| 17 | * @return string The command name |
||
| 18 | */ |
||
| 19 | public function getCommandName(InputInterface $input) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Gets the InputDefinition related to this Application. |
||
| 27 | * Overridden so that the application doesn't expect the command |
||
| 28 | * name to be the first argument. |
||
| 29 | * @return \Symfony\Component\Console\Input\InputDefinition The InputDefinition instance |
||
| 30 | */ |
||
| 31 | public function getDefinition() |
||
| 39 | } |
||
| 40 |