IpUtils

class IpUtils Http utility functions. Methods static bool checkIp(string $requestIp, string|array $ips) Checks if an IPv4 or IPv6 address is contained in the list of given IPs or subnets. static bool checkIp4(string $requestIp, string $ip) Compares two IPv4 addresses. static bool checkIp6(string $requestIp, string $ip) Compares two IPv6 addresses. Details static bool checkIp(string $requestIp, string|array $ips) Checks if an IPv4 or IP

Ip

class Ip extends Constraint Validates that a value is a valid IP address. Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. V4 V6 ALL V4_NO_PRIV V6_NO_PRIV ALL_NO_PRIV V4_NO_RES V6_NO_RES ALL_NO_RES V4_ONLY_PUBLIC V6_ONLY_PUBLIC ALL_ONLY_PUBLIC INVALID_IP

IOExceptionInterface

interface IOExceptionInterface implements ExceptionInterface IOException interface for file and input/output stream related exceptions thrown by the component. Methods string getPath() Returns the associated path for the exception. Details string getPath() Returns the associated path for the exception. Return Value string The path

IOException

class IOException extends RuntimeException implements IOExceptionInterface Exception class thrown when a filesystem operation failure happens. Methods __construct($message, $code, Exception $previous = null, $path = null) string getPath() Returns the associated path for the exception. Details __construct($message, $code, Exception $previous = null, $path = null) Parameters $message $code Exception $previous $path

InvalidTypeException

class InvalidTypeException extends InvalidConfigurationException This exception is thrown if an invalid type is encountered. Methods setPath($path) from InvalidConfigurationException getPath() from InvalidConfigurationException Details setPath($path) Parameters $path getPath()

InvalidResourceException

class InvalidResourceException extends InvalidArgumentException implements ExceptionInterface Thrown when a resource cannot be loaded.

InvalidPropertyPathException

class InvalidPropertyPathException extends RuntimeException Thrown when a property path is malformed.

InvalidParameterException

class InvalidParameterException extends InvalidArgumentException implements ExceptionInterface Exception thrown when a parameter is not valid.

InvalidOptionsException

class InvalidOptionsException extends ValidatorException Methods __construct($message, array $options) getOptions() Details __construct($message, array $options) Parameters $message array $options getOptions()

InvalidOptionsException

class InvalidOptionsException extends InvalidArgumentException Thrown when the value of an option does not match its validation rules. You should make sure a valid value is passed to the option.