UnexpectedValueException

class UnexpectedValueException extends UnexpectedValueException implements ExceptionInterface UnexpectedValueException.

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

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

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

RequestContextAwareInterface::setContext()

setContext(RequestContext $context) Sets the request context. Parameters RequestContext $context The context

DOMCaster::castNotation()

static castNotation(DOMNotation $dom, array $a, Stub $stub, $isNested) Parameters DOMNotation $dom array $a Stub $stub $isNested

ObjectRouteLoader

class ObjectRouteLoader extends Loader A route loader that calls a method on an object to load the routes. Methods LoaderResolverInterface getResolver() Gets the loader resolver. from Loader setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. from Loader mixed import(mixed $resource, string|null $type = null) Imports a resource. from Loader LoaderInterface resolve(mixed $resource, string|null $type = null) Finds a loader able to load an imported resource.

ConstraintValidatorInterface::validate()

validate(mixed $value, Constraint $constraint) Checks if the passed value is valid. Parameters mixed $value The value that should be validated Constraint $constraint The constraint for the validation

Extension::addClassesToCompile()

addClassesToCompile(array $classes) Adds classes to the class cache. Parameters array $classes An array of classes

ProgressBar::setProgressCharacter()

setProgressCharacter(string $char) Sets the progress bar character. Parameters string $char A character