Cookie::getPath()

string getPath() Gets the path on the server in which the cookie will be available on. Return Value string

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 of the cookie. Return Value string The cookie domain

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::getName()

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

Cookie::getDomain()

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

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::getExpiresTime()

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

ControllerResolverInterface::getArguments()

array getArguments(Request $request, callable $controller) deprecated deprecated This method is deprecated as of 3.1 and will be removed in 4.0. Please use the {@see ArgumentResolverInterface} instead. Returns the arguments to pass to the controller. Parameters Request $request A Request instance callable $controller A PHP callable Return Value array An array of arguments to pass to the controller Exceptions RuntimeException When value for argument given is not provided

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