Finder::filter()

Finder|SplFileInfo[] filter(Closure $closure) Filters the iterator with an anonymous function. The anonymous function receives a \SplFileInfo and must return false to remove files. Parameters Closure $closure An anonymous function Return Value Finder|SplFileInfo[] The current Finder instance See also CustomFilterIterator

EntityUserProvider::loadUserByUsername()

UserInterface loadUserByUsername(string $username) Loads the user for the given username. This method must throw UsernameNotFoundException if the user is not found. Parameters string $username The username Return Value UserInterface Exceptions UsernameNotFoundException if the user is not found

Bundle\SecurityBundle\Templating\Helper

Classes LogoutUrlHelper LogoutUrlHelper provides generator functions for the logout URL. SecurityHelper SecurityHelper provides read-only access to the security context.

Hour2401Transformer

class Hour2401Transformer extends HourTransformer Parser and formatter for 24 hour format (1-24). 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

Traverse::getDefaultOption()

string getDefaultOption() Returns the name of the default option. Override this method to define a default option. Return Value string

ButtonBuilder::setErrorBubbling()

FormConfigBuilderInterface setErrorBubbling(bool $errorBubbling) Unsupported method. This method should not be invoked. Parameters bool $errorBubbling Return Value FormConfigBuilderInterface The configuration object Exceptions BadMethodCallException

ExecutionContextInterface::getClassName()

string|null getClassName() Returns the class name of the current node. If the metadata of the current node does not implement {@link Mapping\ClassMetadataInterface} or if no metadata is available for the current node, this method returns null. Return Value string|null The class name or null, if no class name could be found

CurrencyDataProvider::getCurrencies()

getCurrencies()

AssetExtension

class AssetExtension extends Twig_Extension Twig extension for the Symfony Asset component. Methods __construct(Packages $packages) getFunctions() {@inheritdoc} string getAssetUrl(string $path, string $packageName = null) Returns the public url/path of an asset. string getAssetVersion(string $path, string $packageName = null) Returns the version of an asset. string getName() Returns the name of the extension. Details __construct(Packa

AbstractFormLoginAuthenticator::onAuthenticationFailure()

Response|null onAuthenticationFailure(Request $request, AuthenticationException $exception) Override to change what happens after a bad username/password is submitted. Parameters Request $request AuthenticationException $exception Return Value Response|null