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

PropertyPathBuilder::appendIndex()

appendIndex(string $name) Appends an index element to the current path. Parameters string $name The name of the appended index

BadCredentialsException

class BadCredentialsException extends AuthenticationException BadCredentialsException is thrown when the user credentials are invalid. Methods TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. from AuthenticationException serialize() from AuthenticationException unserialize($str) from AuthenticationException string getMessageKey() Message key to be used by the translation component. array getMessage

MethodArgumentValueNotImplementedException deprecated

class MethodArgumentValueNotImplementedException extends MethodArgumentValueNotImplementedException deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\Exception\MethodArgumentValueNotImplementedException} instead. Alias of {@link \Symfony\Component\Intl\Exception\MethodArgumentValueNotImplementedException}. Constants INTL_INSTALL_MESSAGE Methods __construct(string $methodName, string $argName, string $argValue, string $additionalMessage = '')

Firewall::onKernelFinishRequest()

onKernelFinishRequest(FinishRequestEvent $event) Parameters FinishRequestEvent $event

UnexpectedValueException

class UnexpectedValueException extends UnexpectedValueException implements ExceptionInterface UnexpectedValueException.

Table::setColumnWidths()

Table setColumnWidths(array $widths) Sets the minimum width of all columns. Parameters array $widths Return Value Table