CoreAssetsHelper deprecated::setDefaultPackage()

setDefaultPackage(PackageInterface $defaultPackage) Sets the default package. Parameters PackageInterface $defaultPackage The default package

CoreAssetsHelper deprecated::getVersion()

string getVersion(string $packageName = null) Gets the version to add to public URL. Parameters string $packageName A package name Return Value string The version string

CoreAssetsHelper deprecated::getUrl()

string getUrl(string $path, string $packageName = null, string|bool|null $version = null) Returns the public path. Absolute paths (i.e. http://...) are returned unmodified. Parameters string $path A path string $packageName The name of the asset package to use string|bool|null $version A specific version for the path Return Value string The public path

CoreAssetsHelper deprecated::getPackage()

PackageInterface getPackage(string $name = null) Returns an asset package. Parameters string $name The name of the package or null for the default package Return Value PackageInterface An asset package Exceptions InvalidArgumentException If there is no package by that name

CoreAssetsHelper deprecated::getName()

string getName() Returns the canonical name of this helper. Return Value string The canonical name

CoreAssetsHelper deprecated::addPackage()

addPackage(string $name, PackageInterface $package) Adds an asset package to the helper. Parameters string $name The package name PackageInterface $package The package

CoreAssetsHelper deprecated

class CoreAssetsHelper extends Helper implements PackageInterface deprecated since 2.7, will be removed in 3.0. Use the Asset component instead. CoreAssetsHelper helps manage asset URLs. Usage: Methods setCharset(string $charset) Sets the default charset. from Helper string getCharset() Gets the default charset. from Helper __construct(PackageInterface $defaultPackage, array $namedPackages = array()) Constructor. setDefaultPackage(PackageInterface $defaultPackage) Se

CookieTheftException

class CookieTheftException extends AuthenticationException This exception is thrown when the RememberMeServices implementation detects that a presented cookie has already been used by someone else. Methods TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. from AuthenticationException serialize() from AuthenticationException unserialize($str) from AuthenticationException string getMessageKey() Message key

CookieJar::updateFromSetCookie()

updateFromSetCookie(array $setCookies, string $uri = null) Updates the cookie jar from a response Set-Cookie headers. Parameters array $setCookies Set-Cookie headers from an HTTP response string $uri The base URL

CookieJar::updateFromResponse()

updateFromResponse(Response $response, string $uri = null) Updates the cookie jar from a Response object. Parameters Response $response A Response object string $uri The base URL