MergeOperation

class MergeOperation extends AbstractOperation Merge operation between two catalogues as follows: all = source ∪ target = {x: x ∈ source ∨ x ∈ target} new = all ∖ source = {x: x ∈ target ∧ x ∉ source} obsolete = source ∖ all = {x: x ∈ source ∧ x ∉ source ∧ x ∉ target} = ∅ Basically, the result contains messages from both catalogues. Methods __construct(MessageCatalogueInterface $source, MessageCatalogueInterface $target) from AbstractOperation array getDomains() Returns domains affe

TranslatorInterface::transChoice()

string transChoice(string $id, int $number, array $parameters = array(), string|null $domain = null, string|null $locale = null) Translates the given choice message by choosing a translation according to a number. Parameters string $id The message id (may also be an object that can be cast to string) int $number The number to use to find the indice of the message array $parameters An array of parameters for the message string|null $domain The domain for the message or null to u

OutputFormatter::format()

string format(string $message) Formats a message according to the given styles. Parameters string $message The message to style Return Value string The styled message

Forms

class Forms Entry point of the Form component. Use this class to conveniently create new form factories: use Symfony\Component\Form\Forms; $formFactory = Forms::createFormFactory(); $form = $formFactory->createBuilder() ->add('firstName', 'Symfony\Component\Form\Extension\Core\Type\TextType') ->add('lastName', 'Symfony\Component\Form\Extension\Core\Type\TextType') ->add('age', 'Symfony\Component\Form\Extension\Core\Type\IntegerType') ->add('gender', 'Symfony\Component\Form\Ex

TimeValidator::checkTime()

static bool checkTime(int $hour, int $minute, int $second) Checks whether a time is valid. Parameters int $hour The hour int $minute The minute int $second The second Return Value bool Whether the time is valid

FilePathsIterator deprecated::next()

next()

Locale::getDisplayScript()

static string getDisplayScript(string $locale, string $inLocale = null) Not supported. Returns the localized display name for the locale script. Parameters string $locale The locale code to return the display script from string $inLocale Optional format locale code to use to display the script name Return Value string The localized script display name Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/locale.getdisplayscript.php

CollectionType::configureOptions()

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

MetadataFactoryInterface::hasMetadataFor()

bool hasMetadataFor(mixed $value) Returns whether the class is able to return metadata for the given value. Parameters mixed $value Some value Return Value bool Whether metadata can be returned for that value

HttpFoundationExtension

class HttpFoundationExtension extends AbstractExtension Integrates the HttpFoundation component with the Form library. Methods FormTypeInterface getType(string $name) Returns a type by name. from AbstractExtension Boolean hasType(string $name) Returns whether the given type is supported. from AbstractExtension FormTypeExtensionInterface[] getTypeExtensions(string $name) Returns the extensions for the given type. from AbstractExtension Boolean hasTypeExtensions(string $name) R