1 | <?php |
||
20 | class Application extends BaseApplication implements ApplicationContract |
||
21 | { |
||
22 | use CapsuleManagerTrait; |
||
23 | |||
24 | /** |
||
25 | * The application event dispatcher. |
||
26 | * |
||
27 | * @var \Illuminate\Contracts\Events\Dispatcher |
||
28 | */ |
||
29 | protected $dispatcher; |
||
30 | |||
31 | /** |
||
32 | * The current running command. |
||
33 | * |
||
34 | * @var \Symfony\Component\Console\Command\Command |
||
35 | */ |
||
36 | protected $runningCommand; |
||
37 | |||
38 | /** |
||
39 | * Creates a new instance of the application. |
||
40 | * |
||
41 | * @param \Illuminate\Contracts\Container\Container|null $container |
||
42 | * @param \Illuminate\Contracts\Events\Dispatcher|null $dispatcher |
||
43 | * @param \LaravelZero\Framework\Bootstrappers\Factory|null $bootstrappersFactory |
||
44 | */ |
||
45 | public function __construct( |
||
57 | |||
58 | /** |
||
59 | * Gets the name of the command based on input. |
||
60 | * |
||
61 | * Proxies to the Laravel default command if there is no application |
||
62 | * default command. |
||
63 | * |
||
64 | * @param \Symfony\Component\Console\Input\InputInterface $input The input interface |
||
65 | * |
||
66 | * @return string|null |
||
67 | */ |
||
68 | protected function getCommandName(InputInterface $input) |
||
78 | |||
79 | /** |
||
80 | * {@inheritdoc} |
||
81 | */ |
||
82 | protected function doRunCommand(Command $command, InputInterface $input, OutputInterface $output) |
||
87 | |||
88 | /** |
||
89 | * {@inheritdoc} |
||
90 | */ |
||
91 | public function getRunningCommand(): Command |
||
95 | } |
||
96 |