Component\Translation\DataCollector

Classes TranslationDataCollector

TranslatorInterface

interface TranslatorInterface TranslatorInterface. Methods string trans(string $id, array $parameters = array(), string|null $domain = null, string|null $locale = null) Translates the given message. 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. setLocale(string $locale) Sets the current locale. string getLoc

Process::setInput()

Process setInput(resource|scalar|Traversable|null $input) Sets the input. This content will be passed to the underlying process standard input. Parameters resource|scalar|Traversable|null $input The content Return Value Process The current Process instance Exceptions LogicException In case the process is running

MappingRule::match()

null|FormInterface match(string $propertyPath) Matches a property path against the rule path. If the rule matches, the form mapped by the rule is returned. Otherwise this method returns false. Parameters string $propertyPath The property path to match against the rule Return Value null|FormInterface The mapped form or null

AutowireServiceResource::getResource()

getResource() deprecated deprecated Implemented for compatibility with Symfony 2.8

NumericNodeDefinition

class NumericNodeDefinition extends ScalarNodeDefinition Abstract class that contains common code of integer and float node definitions. Methods __construct(string $name, NodeParentInterface $parent = null) Constructor. from NodeDefinition NodeDefinition|$this setParent(NodeParentInterface $parent) Sets the parent node. from NodeDefinition NodeDefinition|$this info(string $info) Sets info message. from NodeDefinition NodeDefinition|$this example(string|array $example) Sets ex

ChoicesToValuesTransformer

class ChoicesToValuesTransformer implements DataTransformerInterface Methods __construct(ChoiceListInterface $choiceList) Constructor. mixed transform(array $array) mixed reverseTransform(array $array) Details __construct(ChoiceListInterface $choiceList) Constructor. Parameters ChoiceListInterface $choiceList mixed transform(array $array) Parameters array $array Return Value mixed The val

ConsoleFormatter

class ConsoleFormatter extends LineFormatter Formats incoming records for console output by coloring them depending on log level. Constants SIMPLE_FORMAT Methods __construct($format = null, $dateFormat = null, $allowInlineLineBreaks = false, $ignoreEmptyContextAndExtra = true) {@inheritdoc} format(array $record) {@inheritdoc} Details __construct($format = null, $dateFormat = null, $allowInlineLineBreaks = false, $ignoreEmptyContextAndExtra = tr

MemberMetadata::getReflectionMember()

ReflectionMethod|ReflectionProperty getReflectionMember(object|string $objectOrClassName) Returns the reflection instance for accessing the member's value. Parameters object|string $objectOrClassName The object or the class name Return Value ReflectionMethod|ReflectionProperty The reflection instance

GetResponseEvent::getResponse()

Response getResponse() Returns the response object. Return Value Response