Cookie::getName()

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

Cookie::getDomain()

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

Cookie::getExpiresTime()

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

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::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::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

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

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