ExecutionContext::getViolations()

ConstraintViolationListInterface getViolations() Returns the violations generated by the validator so far. Return Value ConstraintViolationListInterface The constraint violation list

AccessMap

class AccessMap implements AccessMapInterface AccessMap allows configuration of different access control rules for specific parts of the website. Methods add(RequestMatcherInterface $requestMatcher, array $attributes = array(), string|null $channel = null) Constructor. array getPatterns(Request $request) Returns security attributes and required channel for the supplied request. Details add(RequestMatcherInterface $requestMatcher, array $attributes =

CoreAssetsHelper deprecated

class CoreAssetsHelper extends Helper implements PackageInterface deprecated since 2.7, will be removed in 3.0. Use the Asset component instead. CoreAssetsHelper helps manage asset URLs. Usage: Methods setCharset(string $charset) Sets the default charset. from Helper string getCharset() Gets the default charset. from Helper __construct(PackageInterface $defaultPackage, array $namedPackages = array()) Constructor. setDefaultPackage(PackageInterface $defaultPackage) Se

Bridge\Twig\Form

Classes TwigRenderer TwigRendererEngine Interfaces TwigRendererEngineInterface TwigRendererInterface

FormErrorIterator::count()

int count() Returns the number of elements in the iterator. Note that this is not the total number of errors, if the constructor parameter $deep was set to true! In that case, you should wrap the iterator into a {@link \RecursiveIteratorIterator} with the standard mode {@link \RecursiveIteratorIterator::LEAVES_ONLY} and count the result. $iterator = new \RecursiveIteratorIterator($form->getErrors(true)); $count = count(iterator_to_array($iterator)); Alternatively, set the con

YearTransformer::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

RenderTokenParser deprecated::getTag()

string getTag() Gets the tag name associated with this token parser. Return Value string The tag name

RouterDataCollector::collect()

collect(Request $request, Response $response, Exception $exception = null) Collects data for the given Request and Response. Parameters Request $request A Request instance Response $response A Response instance Exception $exception An Exception instance

AdvancedUserInterface::isAccountNonLocked()

bool isAccountNonLocked() Checks whether the user is locked. Internally, if this method returns false, the authentication system will throw a LockedException and prevent login. Return Value bool true if the user is not locked, false otherwise See also LockedException

Container::has()

bool has(string $id) Returns true if the given service is defined. Parameters string $id The service identifier Return Value bool true if the service is defined, false otherwise