TimeZoneTransformer deprecated

class TimeZoneTransformer extends TimeZoneTransformer deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\DateFormat\TimeZoneTransformer} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\TimeZoneTransformer}. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. from TimeZoneTransformer string getReverseMatchingRegExp(int $length) Returns a re

Glob::append()

ValueInterface append(string $expr) Parameters string $expr Return Value ValueInterface

Session

class Session implements SessionInterface, IteratorAggregate, Countable Session. Methods __construct(SessionStorageInterface $storage = null, AttributeBagInterface $attributes = null, FlashBagInterface $flashes = null) Constructor. bool start() Starts the session storage. bool has(string $name) Checks if an attribute is defined. mixed get(string $name, mixed $default = null) Returns an attribute. set(string $name, mixed $value) Sets an attribute. array all() Retu

AclCacheInterface::clearCache()

clearCache() Removes all ACLs from the cache

ArrayInput::getFirstArgument()

string getFirstArgument() Returns the first argument from the raw parameters (not parsed). Return Value string The value of the first argument or null otherwise

UnsupportedMediaTypeHttpException

class UnsupportedMediaTypeHttpException extends HttpException UnsupportedMediaTypeHttpException. Methods __construct($message = null, Exception $previous = null, $code) Constructor. int getStatusCode() Returns the status code. from HttpException array getHeaders() Returns response headers. from HttpException Details __construct($message = null, Exception $previous = null, $code) Constructor. Parameters $message Exception $previous

ResolvedFormTypeInterface::getOptionsResolver()

OptionsResolver getOptionsResolver() Returns the configured options resolver used for this type. Return Value OptionsResolver The options resolver

FormInterface::getName()

string getName() Returns the name by which the form is identified in forms. Return Value string The name of the form

TemplateReference::getPath()

string getPath() Returns the path to the template - as a path when the template is not part of a bundle - as a resource when the template is part of a bundle. Return Value string A path to the template or a resource

PathPackage deprecated

class PathPackage extends Package deprecated since 2.7, will be removed in 3.0. Use the Asset component instead. The path packages adds a version and a base path to asset URLs. Methods __construct(string $basePath = null, string $version = null, string $format = null) Constructor. string getVersion() Returns the asset package version. from Package string getUrl(string $path, string|bool|null $version = null) Returns an absolute or root-relative public path. string getBa