public function TestUrl::__construct in Search API 8
Constructs a new class instance.
Parameters
string $path: The internal path for this URL.
Overrides Url::__construct
File
- tests/
src/ Unit/ TestUrl.php, line 19
Class
- TestUrl
- Provides a mock URL object.
Namespace
Drupal\Tests\search_api\UnitCode
public function __construct(string $path) {
$this->internalPath = $path;
}