ValidatorTypeGuesser::guessRequiredForConstraint()

ValueGuess|null guessRequiredForConstraint(Constraint $constraint) Guesses whether a field is required based on the given constraint. Parameters Constraint $constraint The constraint to guess for Return Value ValueGuess|null The guess whether the field is required

TokenStream::getNextIdentifier()

string getNextIdentifier() Returns nex identifier token. Return Value string The identifier token value Exceptions SyntaxErrorException If next token is not an identifier

HttpUtils

class HttpUtils Encapsulates the logic needed to create sub-requests, redirect the user, and match URLs. Methods __construct(UrlGeneratorInterface $urlGenerator = null, UrlMatcherInterface|RequestMatcherInterface $urlMatcher = null) Constructor. RedirectResponse createRedirectResponse(Request $request, string $path, int $status = 302) Creates a redirect Response. Request createRequest(Request $request, string $path) Creates a Request. bool checkRequestPath(Request $request

ExceptionInterface

interface ExceptionInterface Base ExceptionInterface for Dependency Injection component.

HttpDigestFactory::create()

array create(ContainerBuilder $container, string $id, array $config, string $userProvider, string $defaultEntryPoint) Configures the container services required to use the authentication listener. Parameters ContainerBuilder $container string $id The unique id of the firewall array $config The options array for the listener string $userProvider The service id of the user provider string $defaultEntryPoint Return Value array containing three values: - the provider id - the lis

TableStyle

class TableStyle Defines the styles for a Table. Methods TableStyle setPaddingChar(string $paddingChar) Sets padding character, used for cell padding. string getPaddingChar() Gets padding character, used for cell padding. TableStyle setHorizontalBorderChar(string $horizontalBorderChar) Sets horizontal border character. string getHorizontalBorderChar() Gets horizontal border character. TableStyle setVerticalBorderChar(string $verticalBorderChar) Sets vertical border ch

DebugBundle::boot()

boot() Boots the Bundle.

Helper::formatTime()

static formatTime($secs) Parameters $secs

MimeTypeGuesser::guess()

string guess(string $path) Tries to guess the mime type of the given file. The file is passed to each registered mime type guesser in reverse order of their registration (last registered is queried first). Once a guesser returns a value that is not NULL, this method terminates and returns the value. Parameters string $path The path to the file Return Value string The mime type or NULL, if none could be guessed Exceptions LogicException FileNotFoundException AccessDeniedExcept

FormConfigBuilder::getAttribute()

mixed getAttribute(string $name, mixed $default = null) Returns the value of the given attribute. Parameters string $name The attribute name mixed $default The value returned if the attribute does not exist Return Value mixed The attribute value