CollectionToArrayTransformer

class CollectionToArrayTransformer implements DataTransformerInterface CollectionToArrayTransformer class. Methods mixed transform($collection) Transforms a value from the original representation to a transformed representation. mixed reverseTransform($array) Transforms a value from the transformed representation to its original representation. Details mixed transform($collection) Transforms a value from the original representation to a tr

CsrfToken

class CsrfToken A CSRF token. Methods __construct(string $id, string $value) Constructor. string getId() Returns the ID of the CSRF token. string getValue() Returns the value of the CSRF token. string __toString() Returns the value of the CSRF token. Details __construct(string $id, string $value) Constructor. Parameters string $id The token ID string $value The actual token value string getId()

UrlMatcherInterface

interface UrlMatcherInterface implements RequestContextAwareInterface UrlMatcherInterface is the interface that all URL matcher classes must implement. Methods setContext(RequestContext $context) Sets the request context. from RequestContextAwareInterface RequestContext getContext() Gets the request context. from RequestContextAwareInterface array match(string $pathinfo) Tries to match a URL path with a set of routes. Details setContext(RequestCon

Transformer::format()

abstract string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. Parameters DateTime $dateTime A DateTime object to be used to generate the formatted value int $length The formatted value string length Return Value string The formatted value

DuplicateKeyException

class DuplicateKeyException extends InvalidConfigurationException This exception is thrown whenever the key of an array is not unique. This can only be the case if the configuration is coming from an XML file. Methods setPath($path) from InvalidConfigurationException getPath() from InvalidConfigurationException Details setPath($path) Parameters $path getPath()

GuardAuthenticationListener::handle()

handle(GetResponseEvent $event) Iterates over each authenticator to see if each wants to authenticate the request. Parameters GetResponseEvent $event

NodeDefinition::end()

NodeParentInterface|NodeBuilder|NodeDefinition|null end() Returns the parent node. Return Value NodeParentInterface|NodeBuilder|NodeDefinition|null The builder of the parent node

BaseMemcacheProfilerStorage deprecated::write()

bool write(Profile $profile) Saves a Profile. Parameters Profile $profile A Profile instance Return Value bool Write operation successful

HttpDigestFactory::getPosition()

string getPosition() Defines the position at which the provider is called. Possible values: preauth, form, http, and rememberme. Return Value string

UniqueEntity::getDefaultOption()

string getDefaultOption() Returns the name of the default option. Override this method to define a default option. Return Value string