TranslationCollectionType::getParent()

string|null|FormTypeInterface getParent() Returns the name of the parent type. You can also return a type instance from this method, although doing so is discouraged because it leads to a performance penalty. The support for returning type instances may be dropped from future releases. Return Value string|null|FormTypeInterface The name of the parent type if any, null otherwise.

LazyChoiceList::getOriginalKeys()

int[]|string[] getOriginalKeys() Returns the original keys of the choices. The original keys are the keys of the choice array that was passed in the "choice" option of the choice type. Note that this array may contain duplicates if the "choice" option contained choice groups: $form->add('field', 'choice', array( 'choices' => array( 'Decided' => array(true, false), 'Undecided' => array(null), ), )); In this example, the original key 0 appears t

RemoveAbstractDefinitionsPass

class RemoveAbstractDefinitionsPass implements CompilerPassInterface Removes abstract Definitions. Methods process(ContainerBuilder $container) Removes abstract definitions from the ContainerBuilder. Details process(ContainerBuilder $container) Removes abstract definitions from the ContainerBuilder. Parameters ContainerBuilder $container

YamlExtension

class YamlExtension extends Twig_Extension Provides integration of the Yaml component with Twig. Methods getFilters() {@inheritdoc} encode($input, $inline, $dumpObjects) dump($value, $inline, $dumpObjects = false) getName() {@inheritdoc} Details getFilters() {@inheritdoc} encode($input, $inline, $dumpObjects) Parameters $input $inline $dumpObjects

DefaultAuthenticationSuccessHandler

class DefaultAuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterface Class with the default authentication success handling logic. Traits TargetPathTrait Trait to get (and set) the URL the user last visited before being forced to authenticate. Methods __construct(HttpUtils $httpUtils, array $options = array()) Constructor. Response onAuthenticationSuccess(Request $request, TokenInterface $token) This is called when an interactive authentication attempt su

Component\CssSelector\Node

Classes AbstractNode Abstract base node class. AttributeNode Represents a "[|]" node. ClassNode Represents a "." node. CombinedSelectorNode Represents a combined node. ElementNode Represents a "|" node. FunctionNode Represents a ":()" node. HashNode Represents a "#" node. NegationNode Represents a ":not()" node. PseudoNode Represents a ":" node. SelectorNode Represents a "(::|:)" node. Specificity Represents a node specificity. I

DialogHelper deprecated::askHiddenResponseAndValidate()

string askHiddenResponseAndValidate(OutputInterface $output, string|array $question, callable $validator, int|false $attempts = false, bool $fallback = true) Asks for a value, hide and validates the response. The validator receives the data to validate. It must return the validated data when the data is valid and throw an exception otherwise. Parameters OutputInterface $output An Output instance string|array $question The question to ask callable $validator A PHP callback int|f

AbstractFactory::addConfiguration()

addConfiguration(NodeDefinition $node) Parameters NodeDefinition $node

PropelTypeGuesser

class PropelTypeGuesser implements FormTypeGuesserInterface Propel Type guesser. Methods TypeGuess|null guessType(string $class, string $property) Returns a field guess for a property name of a class ValueGuess guessRequired(string $class, string $property) Returns a guess whether a property of a class is required ValueGuess|null guessMaxLength(string $class, string $property) Returns a guess about the field's maximum length ValueGuess|null guessPattern(string $class, stri

ResolvedFormType::createView()

FormView createView(FormInterface $form, FormView $parent = null) Creates a new form view for a form of this type. Parameters FormInterface $form The form to create a view for FormView $parent The parent view or null Return Value FormView The created form view