WebProcessor

class WebProcessor extends WebProcessor WebProcessor override to read from the HttpFoundation's Request. Methods __construct(array $extraFields = null) onKernelRequest(GetResponseEvent $event) Details __construct(array $extraFields = null) Parameters array $extraFields onKernelRequest(GetResponseEvent $event) Parameters GetResponseEvent $event

ValueToDuplicatesTransformer

class ValueToDuplicatesTransformer implements DataTransformerInterface Methods __construct(array $keys) mixed transform(mixed $value) Duplicates the given value through the array. mixed reverseTransform(array $array) Extracts the duplicated value from an array. Details __construct(array $keys) Parameters array $keys mixed transform(mixed $value) Duplicates the given value through the array.

Component\DependencyInjection\LazyProxy\Instantiator

Classes RealServiceInstantiator {@inheritDoc} Interfaces InstantiatorInterface Lazy proxy instantiator, capable of instantiating a proxy given a container, the service definitions and a callback that produces the real service instance.

HeaderBag::getDate()

null|DateTime getDate(string $key, DateTime $default = null) Returns the HTTP header value converted to a date. Parameters string $key The parameter key DateTime $default The default value Return Value null|DateTime The parsed DateTime or the default value if the header does not exist Exceptions RuntimeException When the HTTP header is not parseable

AttributeMetadata

class AttributeMetadata implements AttributeMetadataInterface {@inheritdoc} Properties string $name array $groups int|null $maxDepth Methods __construct(string $name) Constructs a metadata for the given attribute. string getName() Gets the attribute name. addGroup(string $group) Adds this attribute to the given group. string[] getGroups() Gets groups of this attribute. setMaxDepth(int|null $maxDepth) Sets the serialization max depth for this attribute.

BufferedBundleReader

class BufferedBundleReader implements BundleReaderInterface Methods __construct(BundleReaderInterface $reader, integer $bufferSize) Buffers a given reader. mixed read(string $path, string $locale) Reads a resource bundle. string[] getLocales(string $path) Reads the available locales of a resource bundle. Details __construct(BundleReaderInterface $reader, integer $bufferSize) Buffers a given reader. Parameters BundleReaderInterface $r

Request::setMethod()

setMethod(string $method) Sets the request method. Parameters string $method

ArgumentsNode

class ArgumentsNode extends ArrayNode Properties $nodes from Node $attributes from Node Methods __construct() Constructor. from ArrayNode __toString() from Node compile(Compiler $compiler) Compiles the node to PHP. evaluate($functions, $values) from ArrayNode addElement(Node $value, Node $key = null) from ArrayNode Details __construct() Constructor. __toString()

ArgumentMetadata

class ArgumentMetadata Responsible for storing metadata of an argument. Methods __construct(string $name, string $type, bool $isVariadic, bool $hasDefaultValue, mixed $defaultValue, bool $isNullable = false) string getName() Returns the name as given in PHP, $foo would yield "foo". string getType() Returns the type of the argument. bool isVariadic() Returns whether the argument is defined as ". bool hasDefaultValue() Returns whether the argument has a default value.

RequestContext::setBaseUrl()

RequestContext setBaseUrl(string $baseUrl) Sets the base URL. Parameters string $baseUrl The base URL Return Value RequestContext The current instance, implementing a fluent interface