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

Breadcrumb

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

function CliRequest::getClientIp

Overrides Request::getClientIp

File

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

Class

CliRequest
@internal

Namespace

Symfony\Component\Console\Debug

Code

public function getClientIp() : string {
    $application = $this->command
        ->getApplication();
    return $application->getName() . ' ' . $application->getVersion();
}

API Navigation

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