TestRouteBuilder::$yamlDiscovery

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php \Drupal\Tests\Core\Routing\TestRouteBuilder::yamlDiscovery
  2. 10 core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php \Drupal\Tests\Core\Routing\TestRouteBuilder::yamlDiscovery
  3. 11.x core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php \Drupal\Tests\Core\Routing\TestRouteBuilder::yamlDiscovery

The mocked YAML discovery.

Type: \Drupal\Core\Discovery\YamlDiscovery|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php, line 339

Class

TestRouteBuilder
Extends the core route builder with a setter method for the YAML discovery.

Namespace

Drupal\Tests\Core\Routing

Code

protected $yamlDiscovery;

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