ChoiceList deprecated

class ChoiceList implements ChoiceListInterface deprecated since version 2.7, to be removed in 3.0. Use {@link \Symfony\Component\Form\ChoiceList\ArrayChoiceList} instead. A choice list for choices of arbitrary data types. Choices and labels are passed in two arrays. The indices of the choices and the labels should match. Choices may also be given as hierarchy of unlimited depth by creating nested arrays. The title of the sub-hierarchy can be stored in the array key pointing to the neste

Bridge\Doctrine\DataCollector

Classes DoctrineDataCollector DoctrineDataCollector.

StreamedResponse::getContent()

string getContent() Gets the current response content. Return Value string Content

Acl::insertClassFieldAce()

insertClassFieldAce(string $field, SecurityIdentityInterface $sid, int $mask, int $index, bool $granting = true, string $strategy = null) Inserts a class-field-based ACE Parameters string $field SecurityIdentityInterface $sid int $mask int $index bool $granting string $strategy

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

ChainAdapter::save()

save(CacheItemInterface $item) {@inheritdoc} Parameters CacheItemInterface $item

Component\Intl\Data\Util

Classes ArrayAccessibleResourceBundle Work-around for a bug in PHP's \ResourceBundle implementation. LocaleScanner Scans a directory with data files for locales. RecursiveArrayAccess RingBuffer Implements a ring buffer.

DebugBundle::build()

build(ContainerBuilder $container) Builds the bundle. It is only ever called once when the cache is empty. This method can be overridden to register compilation passes, other extensions, ... Parameters ContainerBuilder $container A ContainerBuilder instance

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