Helper::strlenWithoutDecoration()

static strlenWithoutDecoration(OutputFormatterInterface $formatter, $string) Parameters OutputFormatterInterface $formatter $string

AbstractExtension::getCombinationTranslators()

callable[] getCombinationTranslators() Returns combination translators. Return Value callable[]

ProgressBar::setPlaceholderFormatterDefinition()

static setPlaceholderFormatterDefinition(string $name, callable $callable) Sets a placeholder formatter for a given name. This method also allow you to override an existing placeholder. Parameters string $name The placeholder name (including the delimiter char like %) callable $callable A PHP callable

PropertyInfoExtractor::getShortDescription()

string|null getShortDescription(string $class, string $property, array $context = array()) Gets the short description of the property. Parameters string $class string $property array $context Return Value string|null

TwigRendererEngineInterface

interface TwigRendererEngineInterface implements FormRendererEngineInterface Methods setTheme(FormView $view, mixed $themes) Sets the theme(s) to be used for rendering a view and its children. from FormRendererEngineInterface mixed getResourceForBlockName(FormView $view, string $blockName) Returns the resource for a block name. from FormRendererEngineInterface mixed getResourceForBlockNameHierarchy(FormView $view, array $blockNameHierarchy, integer $hierarchyLevel) Returns the reso

SessionInterface::setName()

setName(string $name) Sets the session name. Parameters string $name

Crawler::each()

array each(Closure $closure) Calls an anonymous function on each node of the list. The anonymous function receives the position and the node wrapped in a Crawler instance as arguments. Example: $crawler->filter('h1')->each(function ($node, $i) { return $node->text(); }); Parameters Closure $closure An anonymous function Return Value array An array of values returned by the anonymous function

ConfigCacheInterface

interface ConfigCacheInterface Interface for ConfigCache. Methods string getPath() Gets the cache file path. bool isFresh() Checks if the cache is still fresh. write(string $content, array $metadata = null) Writes the given content into the cache file. Metadata will be stored independently and can be used to check cache freshness at a later time. Details string getPath() Gets the cache file path. Return Value string The cache file p

TranslatorBagInterface

interface TranslatorBagInterface TranslatorBagInterface. Methods MessageCatalogueInterface getCatalogue(string|null $locale = null) Gets the catalogue by locale. Details MessageCatalogueInterface getCatalogue(string|null $locale = null) Gets the catalogue by locale. Parameters string|null $locale The locale or null to use the default Return Value MessageCatalogueInterface Exceptions InvalidArgumentException If the locale contains invalid cha

EnvParametersResource::isFresh()

bool isFresh(int $timestamp) Returns true if the resource has not been updated since the given timestamp. Parameters int $timestamp The last time the resource was loaded Return Value bool True if the resource has not been updated, false otherwise