BuildTestBase::$hostName

Same name in other branches
  1. 8.9.x core/tests/Drupal/BuildTests/Framework/BuildTestBase.php \Drupal\BuildTests\Framework\BuildTestBase::hostName
  2. 10 core/tests/Drupal/BuildTests/Framework/BuildTestBase.php \Drupal\BuildTests\Framework\BuildTestBase::hostName
  3. 11.x core/tests/Drupal/BuildTests/Framework/BuildTestBase.php \Drupal\BuildTests\Framework\BuildTestBase::hostName

Our native host name, used by PHP when it starts up the server.

Requests should always be made to 'localhost', and not this IP address.

Type: string

File

core/tests/Drupal/BuildTests/Framework/BuildTestBase.php, line 107

Class

BuildTestBase
Provides a workspace to test build processes.

Namespace

Drupal\BuildTests\Framework

Code

private static $hostName = '127.0.0.1';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.