RouterHelper

class RouterHelper extends Helper RouterHelper manages links between pages in a template context. Methods setCharset(string $charset) Sets the default charset. from Helper string getCharset() Gets the default charset. from Helper __construct(UrlGeneratorInterface $router) Constructor. string path(string $name, mixed $parameters = array(), bool $relative = false) Generates a URL reference (as an absolute or relative path) to the route with the given parameters. string ur

XmlEncoder::supportsEncoding()

bool supportsEncoding(string $format) Checks whether the serializer can encode to given format. Parameters string $format format name Return Value bool

ArrayAccessibleResourceBundle::offsetUnset()

offsetUnset($offset) Parameters $offset

AbstractAdapter deprecated::setDates()

AdapterInterface setDates(array $dates) Parameters array $dates Return Value AdapterInterface Current instance

FormConfigBuilder::resetViewTransformers()

FormConfigBuilderInterface resetViewTransformers() Clears the view transformers. Return Value FormConfigBuilderInterface The configuration object

ConfigDataCollector::hasAccelerator()

bool hasAccelerator() Returns true if any accelerator is enabled. Return Value bool true if any accelerator is enabled, false otherwise

Bridge\ProxyManager

Namespaces Symfony\Bridge\ProxyManager\LazyProxy

DateTimeNormalizer::denormalize()

object denormalize(mixed $data, string $class, string $format = null, array $context = array()) Denormalizes data back into an object of the given class. Parameters mixed $data data to restore string $class the expected class to instantiate string $format format the given data was extracted from array $context options available to the denormalizer Return Value object

DateTimeToArrayTransformer

class DateTimeToArrayTransformer extends BaseDateTimeTransformer Transforms between a normalized time and a localized time string/array. Methods __construct(string $inputTimezone = null, string $outputTimezone = null, array $fields = null, bool $pad = false) Constructor. mixed transform(DateTimeInterface $dateTime) Transforms a normalized date into a localized date. mixed reverseTransform(mixed $value) Transforms a localized date into a normalized date. Details

DateTimeToArrayTransformer::transform()

mixed transform(DateTimeInterface $dateTime) Transforms a normalized date into a localized date. Parameters DateTimeInterface $dateTime A DateTimeInterface object Return Value mixed The value in the transformed representation Exceptions TransformationFailedException If the given value is not a \DateTimeInterface