Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CliRequest.php

function CliRequest::getResponse

File

vendor/symfony/console/Debug/CliRequest.php, line 49

Class

CliRequest
@internal

Namespace

Symfony\Component\Console\Debug

Code

public function getResponse() : Response {
    return new class ($this->command->exitCode) extends Response {
        public function __construct(int $exitCode) {
            parent::__construct();
        }
        public function getStatusCode() : int {
            return $this->exitCode;
        }

};
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal