MimeTypeGuesser::reset()

static reset() Resets the singleton instance.

CodeHelper::formatArgsAsText()

string formatArgsAsText(array $args) Formats an array as a string. Parameters array $args The argument array Return Value string

File

class File extends Constraint Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. NOT_FOUND_ERROR NOT_READABLE_ERROR EMPTY_ERROR TOO_LARGE_ERROR INVALID_MIME_TYPE_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The group

FormBuilder::getFormConfig()

FormConfigInterface getFormConfig() Builds and returns the form configuration. Return Value FormConfigInterface

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

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

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

Stopwatch::stop()

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

Request::getMethod()

string getMethod() Gets the request HTTP method. Return Value string The request HTTP method

RememberMeToken::getSecret()

string getSecret() Returns the secret. Return Value string