function TestExecutableFinder::__construct

Same name and namespace in other branches
  1. 11.x core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestExecutableFinder.php \Drupal\package_manager_test_validation\TestExecutableFinder::__construct()

File

core/modules/package_manager/tests/modules/package_manager_test_validation/src/TestExecutableFinder.php, line 17

Class

TestExecutableFinder
A test-only executable finder that can be rigged to throw an exception.

Namespace

Drupal\package_manager_test_validation

Code

public function __construct(private readonly ExecutableFinderInterface $decorated, private readonly StateInterface $state) {
}

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