laipower/wp-content/upgrade-temp-backup/plugins/authldap/src/Exception/InvalidLdapUri.php

16 lines
295 B
PHP
Raw Normal View History

2023-10-22 22:21:44 +00:00
<?php
declare(strict_types=1);
namespace Org_Heigl\AuthLdap\Exception;
use RuntimeException;
class InvalidLdapUri extends RuntimeException
{
public static function fromLdapUriString(string $ldapUri): InvalidLdapUri
{
return new self('"%s" is not a valid LDAP-URI.');
}
}