application = $application; $this->command = $command; } /** * Get the active application. * * @return Application * * @since 2.0.0 */ public function getApplication(): Application { return $this->application; } /** * Get the command being executed. * * @return AbstractCommand|null * * @since 2.0.0 */ public function getCommand(): ?AbstractCommand { return $this->command; } }