ModelType::setDefaultOptions()

setDefaultOptions(OptionsResolverInterface $resolver) Sets the default options for this type. Parameters OptionsResolverInterface $resolver The resolver for the options.

EntryManagerInterface::remove()

remove(Entry $entry) Removes an entry from the Ldap server. Parameters Entry $entry

SessionHelper::getName()

string getName() Returns the canonical name of this helper. Return Value string The canonical name

FormConfigBuilder::isValidName()

static bool isValidName(string $name) Returns whether the given variable contains a valid form name. A name is accepted if it is empty starts with a letter, digit or underscore contains only letters, digits, numbers, underscores ("_"), hyphens ("-") and colons (":") Parameters string $name The tested form name Return Value bool Whether the name is valid

ModelChoiceList::getRemainingViews()

array getRemainingViews() Returns the choice views of the choices that are not preferred as nested array with the choice groups as top-level keys. Example: array( 'Group 1' => array( 10 => ChoiceView object, 20 => ChoiceView object, ), 'Group 2' => array( 30 => ChoiceView object, ), ) Return Value array A nested array containing the views with the corresponding choice indices as keys on the lowest levels and the choice group names in the keys of the higher leve

ModelChoiceList::getIndicesForChoices()

array getIndicesForChoices(array $models) deprecated deprecated Deprecated since version 2.4, to be removed in 3.0. Returns the indices corresponding to the given choices. The indices must be positive integers or strings accepted by {@link FormConfigBuilder::validateName()}. The index "placeholder" is internally reserved. The indices must be returned with the same keys and in the same order as the corresponding choices in the given array. Parameters array $models Return Val

HttpCache::getSurrogate()

SurrogateInterface getSurrogate() Gets the Surrogate instance. Return Value SurrogateInterface A Surrogate instance Exceptions LogicException

RememberMeServicesInterface::loginSuccess()

loginSuccess(Request $request, Response $response, TokenInterface $token) Called whenever an interactive authentication attempt is successful (e.g. a form login). An implementation may always set a remember-me cookie in the Response, although this is not recommended. Instead, implementations should typically look for a request parameter (such as a HTTP POST parameter) that indicates the browser has explicitly requested for the authentication to be remembered. Parameters Request $re

ExprBuilder::then()

ExprBuilder then(Closure $closure) Sets the closure to run if the test pass. Parameters Closure $closure Return Value ExprBuilder

DebugAccessDecisionManager::getVoters()

array getVoters() Return Value array