Cookie::getName()

string getName() Gets the name of the cookie. Return Value string

Cookie::getName()

string getName() Gets the name of the cookie. Return Value string The cookie name

Cookie::getExpiresTime()

int getExpiresTime() Gets the time the cookie expires. Return Value int

Cookie::getExpiresTime()

string getExpiresTime() Gets the expires time of the cookie. Return Value string The cookie expires time

Cookie::getDomain()

string getDomain() Gets the domain that the cookie is available to. Return Value string

Cookie::getDomain()

string getDomain() Gets the domain of the cookie. Return Value string The cookie domain

Cookie::fromString()

static Cookie fromString(string $cookie, string $url = null) Creates a Cookie instance from a Set-Cookie header value. Parameters string $cookie A Set-Cookie header value string $url The base URL Return Value Cookie A Cookie instance Exceptions InvalidArgumentException

Cookie

class Cookie Represents a cookie. Methods __construct(string $name, string $value = null, int|string|DateTimeInterface $expire, string $path = '/', string $domain = null, bool $secure = false, bool $httpOnly = true, bool $raw = false) Constructor. string __toString() Returns the cookie as a string. string getName() Gets the name of the cookie. string getValue() Gets the value of the cookie. string getDomain() Gets the domain that the cookie is available to. int g

Cookie

class Cookie Cookie represents an HTTP cookie. Methods __construct(string $name, string $value, string $expires = null, string $path = null, string $domain = '', bool $secure = false, bool $httponly = true, bool $encodedValue = false) Sets a cookie. string __toString() Returns the HTTP representation of the Cookie. static Cookie fromString(string $cookie, string $url = null) Creates a Cookie instance from a Set-Cookie header value. string getName() Gets the name of the coo

ControllerResolverInterface::getController()

callable|false getController(Request $request) Returns the Controller instance associated with a Request. As several resolvers can exist for a single application, a resolver must return false when it is not able to determine the controller. The resolver must only throw an exception when it should be able to load controller but cannot because of some errors made by the developer. Parameters Request $request A Request instance Return Value callable|false A PHP callable representi