Stopwatch::stop()

StopwatchEvent stop(string $name) Stops an event. Parameters string $name The event name Return Value StopwatchEvent A StopwatchEvent instance

FormRegistry::hasType()

bool hasType(string $name) Returns whether the given form type is supported. Parameters string $name The name of the type Return Value bool Whether the type is supported

Store::purge()

bool purge(string $url) Purges data for the given URL. Parameters string $url A URL Return Value bool true if the URL exists and has been purged, false otherwise

ArrayDenormalizer::supportsDenormalization()

bool supportsDenormalization(mixed $data, string $type, string $format = null) Checks whether the given class is supported for denormalization by this normalizer. Parameters mixed $data Data to denormalize from string $type The class to which the data should be denormalized string $format The format being deserialized from Return Value bool

PassConfig::setOptimizationPasses()

setOptimizationPasses(array $passes) Sets the Optimization passes. Parameters array $passes An array of passes

ProgressBar::display()

display() Outputs the current progress string.

CachingFactoryDecorator

class CachingFactoryDecorator implements ChoiceListFactoryInterface Caches the choice lists created by the decorated factory. Methods static string generateHash(mixed $value, string $namespace = '') Generates a SHA-256 hash for the given value. __construct(ChoiceListFactoryInterface $decoratedFactory) Decorates the given factory. ChoiceListFactoryInterface getDecoratedFactory() Returns the decorated factory. ChoiceListInterface createListFromChoices(array|Traversable $choi

Logger::countErrors()

int countErrors() Returns the number of errors. Return Value int The number of errors

FormConfigBuilder::getMethod()

string getMethod() Returns the HTTP method used by the form. Return Value string The HTTP method of the form

OptionsResolver::isMissing()

bool isMissing(string $option) Returns whether an option is missing a default value. An option is missing if it was passed to {@link setRequired()}, but not to {@link setDefault()}. This option must be passed explicitly to {@link resolve()}, otherwise an exception will be thrown. Parameters string $option The name of the option Return Value bool Whether the option is missing