MCPcopy Create free account
hub / github.com/Rello/analytics / __construct

Method __construct

lib/Security/ExternalUrlValidator.php:12–13  ·  view source on GitHub ↗
(private IRemoteHostValidator $remoteHostValidator)

Source from the content-addressed store, hash-verified

10
11class ExternalUrlValidator {
12 public function __construct(private IRemoteHostValidator $remoteHostValidator) {
13 }
14
15 public function validate(string $url): ?string {
16 $url = trim($url);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected