InputDefinition::setDefinition()

setDefinition(array $definition) Sets the definition of the input. Parameters array $definition The definition array

CachingFactoryDecorator::createListFromLoader()

ChoiceListInterface createListFromLoader(ChoiceLoaderInterface $loader, null|callable $value = null) Creates a choice list that is loaded with the given loader. Optionally, a callable can be passed for generating the choice values. The callable receives the choice as first and the array key as the second argument. Parameters ChoiceLoaderInterface $loader The choice loader null|callable $value The callable generating the choice values Return Value ChoiceListInterface The choice

ResourceCheckerConfigCacheFactory

class ResourceCheckerConfigCacheFactory implements ConfigCacheFactoryInterface A ConfigCacheFactory implementation that validates the cache with an arbitrary set of ResourceCheckers. Methods __construct(array $resourceCheckers = array()) ConfigCacheInterface cache(string $file, $callback) Creates a cache instance and (re-)initializes it if necessary. Details __construct(array $resourceCheckers = array()) Parameters array $resourceChecker

DelegatingEngine::renderResponse()

Response renderResponse(string $view, array $parameters = array(), Response $response = null) Renders a view and returns a Response. Parameters string $view The view name array $parameters An array of parameters to pass to the view Response $response A Response instance Return Value Response A Response instance Exceptions RuntimeException if the template cannot be rendered

PackageInterface deprecated

interface PackageInterface deprecated since 2.7, will be removed in 3.0. Use the Asset component instead. Asset package interface. Methods string getVersion() Returns the asset package version. string getUrl(string $path, string|bool|null $version = null) Returns an absolute or root-relative public path. Details string getVersion() Returns the asset package version. Return Value string The version string str

Ldap::query()

QueryInterface query(string $dn, string $query, array $options = array()) Queries a ldap server for entries matching the given criteria. Parameters string $dn string $query array $options Return Value QueryInterface

Component\Security\Core\Exception

Classes AccessDeniedException AccessDeniedException is thrown when the account has not the required role. AccountExpiredException AccountExpiredException is thrown when the user account has expired. AccountStatusException AccountStatusException is the base class for authentication exceptions caused by the user account status. AuthenticationCredentialsNotFoundException AuthenticationCredentialsNotFoundException is thrown when an authentication is rejected because no Token is avail

FilesystemLoader

class FilesystemLoader extends Twig_Loader_Filesystem FilesystemLoader extends the default Twig filesystem loader to work with the Symfony paths and template references. Methods __construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser) Constructor. exists($name) {@inheritdoc} Details __construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser) Constructor. Parameters FileLocatorInterface $locator

Bridge\Twig\TokenParser

Classes FormThemeTokenParser Token Parser for the 'form_theme' tag. TransChoiceTokenParser Token Parser for the 'transchoice' tag. TransDefaultDomainTokenParser Token Parser for the 'transdefaultdomain' tag. TransTokenParser Token Parser for the 'trans' tag.

TokenStorageInterface

interface TokenStorageInterface The TokenStorageInterface. Methods TokenInterface|null getToken() Returns the current security token. setToken(TokenInterface $token = null) Sets the authentication token. Details TokenInterface|null getToken() Returns the current security token. Return Value TokenInterface|null A TokenInterface instance or null if no authentication information is available setToken(TokenInt