Appearance
SafeUrls
php
final readonly class KMark\Inline\SafeUrlsTells whether a URL may be a link: a relative URL, or one whose scheme is allowed.
Source: src/Inline/SafeUrls.php
Methods
__construct()
php
public function __construct(array $allowedSchemes)isSafe()
php
public function isSafe(string $url): bool