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

LoggingTranslatorPass

class LoggingTranslatorPass implements CompilerPassInterface Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

Compiler

class Compiler Compiles a node to PHP code. Methods __construct(array $functions) getFunction($name) string getSource() Gets the current PHP code after compilation. reset() Compiler compile(Node $node) Compiles a node. subcompile(Node $node) Compiler raw(string $string) Adds a raw string to the compiled code. Compiler string(string $value) Adds a quoted string to the compiled code. Compiler repr(mixed $value) Returns a PHP representation of a g

Glob::isCaseSensitive()

bool isCaseSensitive() Returns value case sensitivity. Return Value bool

AbstractProxy::setId()

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

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