Regex::getDefaultOption()

string getDefaultOption() Returns the name of the default option. Override this method to define a default option. Return Value string

Profiler::saveProfile()

bool saveProfile(Profile $profile) Saves a Profile. Parameters Profile $profile A Profile instance Return Value bool

ConstraintViolationInterface::getPropertyPath()

string getPropertyPath() Returns the property path from the root element to the violation. Return Value string The property path indicates how the validator reached the invalid value from the root element. If the root element is a Person instance with a property "address" that contains an Address instance with an invalid property "street", the generated property path is "address.street". Property access is denoted by dots, while array access is denoted by square brackets, for e

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