Router::setConfigCacheFactory()

setConfigCacheFactory(ConfigCacheFactoryInterface $configCacheFactory) Sets the ConfigCache factory to use. Parameters ConfigCacheFactoryInterface $configCacheFactory The factory to use

MergeCollectionListener::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

Crawler::count()

int count() Return Value int

ContainerAwareInterface

interface ContainerAwareInterface ContainerAwareInterface should be implemented by classes that depends on a Container. Methods setContainer(ContainerInterface $container = null) Sets the container. Details setContainer(ContainerInterface $container = null) Sets the container. Parameters ContainerInterface $container A ContainerInterface instance or null

LdapUserProvider::refreshUser()

UserInterface refreshUser(UserInterface $user) Refreshes the user for the account interface. It is up to the implementation to decide if the user data should be totally reloaded (e.g. from the database), or if the UserInterface object can just be merged into some internal array of users / identity map. Parameters UserInterface $user Return Value UserInterface Exceptions UnsupportedUserException if the account is not supported

Finder::notContains()

Finder|SplFileInfo[] notContains(string $pattern) Adds tests that file contents must not match. Strings or PCRE patterns can be used: $finder->notContains('Lorem ipsum') $finder->notContains('/Lorem ipsum/i') Parameters string $pattern A pattern (string or regexp) Return Value Finder|SplFileInfo[] The current Finder instance See also FilecontentFilterIterator

BCryptPasswordEncoder::encodePassword()

string encodePassword(string $raw, string $salt) Encodes the raw password. It doesn't work with PHP versions lower than 5.3.7, since the password compat library uses CRYPT_BLOWFISH hash type with the "$2y$" salt prefix (which is not available in the early PHP versions). Parameters string $raw The password to encode string $salt The salt Return Value string The encoded password Exceptions BadCredentialsException when the given password is too long See also https://github.com/irc

ProxyAdapter::deleteItems()

deleteItems(array $keys) {@inheritdoc} Parameters array $keys

FormFactoryBuilder::addTypeGuesser()

FormFactoryBuilderInterface addTypeGuesser(FormTypeGuesserInterface $typeGuesser) Adds a type guesser to the factory. Parameters FormTypeGuesserInterface $typeGuesser The type guesser. Return Value FormFactoryBuilderInterface The builder.

IniFileLoader

class IniFileLoader extends FileLoader IniFileLoader loads translations from an ini file. Methods MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. from FileLoader Details MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. Parameters mixed $resource A resource string $locale A locale string $domain The domain Return Value MessageCatalogue A Messa