DnsMock::getmxrr()

static getmxrr($hostname, $mxhosts, $weight = null) Parameters $hostname $mxhosts $weight

DnsMock::gethostbyaddr()

static gethostbyaddr($ipAddress) Parameters $ipAddress

DirectoryResource::unserialize()

unserialize($serialized) Parameters $serialized

DnsMock

class DnsMock Methods static withMockedHosts(array $hosts) Configures the mock values for DNS queries. static checkdnsrr($hostname, $type = 'MX') static getmxrr($hostname, $mxhosts, $weight = null) static gethostbyaddr($ipAddress) static gethostbyname($hostname) static gethostbynamel($hostname) static dns_get_record($hostname, $type = DNS_ANY, $authns = null, $addtl = null, $raw = false) static register($class) Details static

DisabledException

class DisabledException extends AccountStatusException DisabledException is thrown when the user account is disabled. Methods TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. from AuthenticationException serialize() from AccountStatusException unserialize($str) from AccountStatusException string getMessageKey() Message key to be used by the translation component. array getMessageData() Message data

DirectoryResource

class DirectoryResource implements SelfCheckingResourceInterface, Serializable DirectoryResource represents a resources stored in a subdirectory tree. Methods __construct(string $resource, string|null $pattern = null) Constructor. string __toString() Returns a string representation of the Resource. string getResource() string|null getPattern() Returns the pattern to restrict monitored files. bool isFresh(int $timestamp) Returns true if the resource has not been updat

DirectoryResource::getPattern()

string|null getPattern() Returns the pattern to restrict monitored files. Return Value string|null

DirectoryResource::getResource()

string getResource() Return Value string The file path to the resource

DirectoryResource::isFresh()

bool isFresh(int $timestamp) Returns true if the resource has not been updated since the given timestamp. Parameters int $timestamp The last time the resource was loaded Return Value bool True if the resource has not been updated, false otherwise

DirectoryResource::serialize()

serialize()