Helpers
final class Helpers
Rendering helpers for HTTP.
Constants
internal STRICT_COOKIE_NAME |
|
Methods
static string
formatDate(string|int|DateTimeInterface $time)
Returns HTTP valid date format.
static bool
ipMatch(string $ip, string $mask)
Is IP address in CIDR block?
static
Details
at line 30
static string
formatDate(string|int|DateTimeInterface $time)
Returns HTTP valid date format.
at line 40
static bool
ipMatch(string $ip, string $mask)
Is IP address in CIDR block?
Traits
Static class.