Component\HttpFoundation\Session\Attribute

Classes AttributeBag This class relates to session attribute storage NamespacedAttributeBag This class provides structured storage of session attributes using a name spacing character in the key. Interfaces AttributeBagInterface Attributes store.

ValidatorBuilderInterface::setTranslationDomain()

ValidatorBuilderInterface setTranslationDomain(string $translationDomain) Sets the default translation domain of violation messages. The same message can have different translations in different domains. Pass the domain that is used for violation messages by default to this method. Parameters string $translationDomain The translation domain of the violation messages Return Value ValidatorBuilderInterface The builder object

ReflectionExtractor::isReadable()

bool|null isReadable(string $class, string $property, array $context = array()) Is the property readable? Parameters string $class string $property array $context Return Value bool|null

PropertyAccessor::getValue()

mixed getValue(object|array $objectOrArray, string|PropertyPathInterface $propertyPath) Returns the value at the end of the property path of the object graph. Example: use Symfony\Component\PropertyAccess\PropertyAccess; $propertyAccessor = PropertyAccess::createPropertyAccessor(); echo $propertyAccessor->getValue($object, 'child.name); // equals echo $object->getChild()->getName(); This method first tries to find a public getter for each property in the path. The nam

PropertyTypeExtractorInterface

interface PropertyTypeExtractorInterface Type Extractor Interface. Methods Type[]|null getTypes(string $class, string $property, array $context = array()) Gets types of a property. Details Type[]|null getTypes(string $class, string $property, array $context = array()) Gets types of a property. Parameters string $class string $property array $context Return Value Type[]|null

Hour1201Transformer deprecated

class Hour1201Transformer extends Hour1201Transformer deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\DateFormat\Hour1201Transformer} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\Hour1201Transformer}. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. from Hour1201Transformer string getReverseMatchingRegExp(int $length) Returns a re

Inline::dump()

static string dump(mixed $value, int $flags) Dumps a given PHP variable to a YAML string. Parameters mixed $value The PHP variable to convert int $flags A bit field of Yaml::DUMP_* constants to customize the dumped YAML string Return Value string The YAML string representing the PHP array Exceptions DumpException When trying to dump PHP resource

Component\Translation\DataCollector

Classes TranslationDataCollector

FormFactoryBuilder::getFormFactory()

FormFactoryInterface getFormFactory() Builds and returns the factory. Return Value FormFactoryInterface The form factory.

AuthenticationTrustResolver::isAnonymous()

bool isAnonymous(TokenInterface $token = null) Resolves whether the passed token implementation is authenticated anonymously. If null is passed, the method must return false. Parameters TokenInterface $token Return Value bool