DateTimeToStringTransformer::transform()

mixed transform(DateTimeInterface $dateTime) Transforms a DateTime object into a date string with the configured format and timezone. 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

Collator

class Collator Replacement for PHP's native {@link \Collator} class. The only methods currently supported in this class are: {@link __construct} {@link create} {@link asort} {@link getErrorCode} {@link getErrorMessage} {@link getLocale} Constants FRENCH_COLLATION ALTERNATE_HANDLING CASE_FIRST CASE_LEVEL NORMALIZATION_MODE STRENGTH HIRAGANA_QUATERNARY_MODE NUMERIC_COLLATION DEFAULT_VALUE PRIMARY SECONDARY TERTIARY DEFAULT_STRENGTH QUATERNAR

FileType::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options

Component\Config\Definition\Exception

Classes DuplicateKeyException 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. Exception Base exception for all configuration exceptions ForbiddenOverwriteException This exception is thrown when a configuration path is overwritten from a subsequent configuration file, but the entry node specifically forbids this. InvalidConfigurationException A very general exception which can be thrown

Form::setValues()

Form setValues(array $values) Sets the value of the fields. Parameters array $values An array of field values Return Value Form

RememberMeFactory::create()

create(ContainerBuilder $container, $id, $config, $userProvider, $defaultEntryPoint) Parameters ContainerBuilder $container $id $config $userProvider $defaultEntryPoint

ViolationPath::getElement()

string getElement(int $index) Returns the element at the given index in the property path. Parameters int $index The index key Return Value string A property or index name Exceptions OutOfBoundsException If the offset is invalid

FormConfigBuilder::getInheritData()

bool getInheritData() Returns whether the form should read and write the data of its parent. Return Value bool Whether the form should inherit its parent's data

Image

class Image extends File Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. NOT_FOUND_ERROR NOT_READABLE_ERROR EMPTY_ERROR TOO_LARGE_ERROR INVALID_MIME_TYPE_ERROR SIZE_NOT_DETECTED_ERROR TOO_WIDE_ERROR TOO_NARROW_ERROR TOO_HIGH_ERROR TOO_LOW_ERROR RATIO_TOO_BIG_ERRO

SessionInterface::setId()

setId(string $id) Sets the session ID. Parameters string $id