function TestDatabase::getPhpErrorLogPath

Same name in other branches
  1. 10 core/lib/Drupal/Core/Test/TestDatabase.php \Drupal\Core\Test\TestDatabase::getPhpErrorLogPath()

Gets the file path of the PHP error log of the test.

Return value

string The relative path to the test site PHP error log file.

File

core/lib/Drupal/Core/Test/TestDatabase.php, line 157

Class

TestDatabase
Provides helper methods for interacting with the fixture database.

Namespace

Drupal\Core\Test

Code

public function getPhpErrorLogPath() : string {
    return $this->getTestSitePath() . '/error.log';
}

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