MissingOptionsException

class MissingOptionsException extends InvalidArgumentException Exception thrown when a required option is missing. Add the option to the passed options array.

MissingMandatoryParametersException

class MissingMandatoryParametersException extends InvalidArgumentException implements ExceptionInterface Exception thrown when a route cannot be generated because of missing mandatory parameters.

MinuteTransformer::getReverseMatchingRegExp()

string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). Parameters int $length The length of the value to be reverse matched Return Value string The reverse matching regular expression

MinuteTransformer::format()

string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. Parameters DateTime $dateTime A DateTime object to be used to generate the formatted value int $length The formatted value string length Return Value string The formatted value

MinuteTransformer::extractDateOptions()

array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of the reverse matching regular expression. Parameters string $matched The matched value int $length The length of the Transformer pattern string Return Value array An associative array

MinuteTransformer deprecated

class MinuteTransformer extends MinuteTransformer deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\DateFormat\MinuteTransformer} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\MinuteTransformer}. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. from MinuteTransformer string getReverseMatchingRegExp(int $length) Returns a reverse matc

MinuteTransformer

class MinuteTransformer extends Transformer Parser and formatter for minute format. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of the reverse matching regul

MimeTypeGuesserInterface

interface MimeTypeGuesserInterface Guesses the mime type of a file. Methods string guess(string $path) Guesses the mime type of the file with the given path. Details string guess(string $path) Guesses the mime type of the file with the given path. Parameters string $path The path to the file Return Value string The mime type or NULL, if none could be guessed Exceptions FileNotFoundException If the file does not exist AccessDeniedException If

MimeTypeGuesser::reset()

static reset() Resets the singleton instance.

MimeTypeGuesser::register()

register(MimeTypeGuesserInterface $guesser) Registers a new mime type guesser. When guessing, this guesser is preferred over previously registered ones. Parameters MimeTypeGuesserInterface $guesser