EnumNodeDefinition

class EnumNodeDefinition extends ScalarNodeDefinition Enum Node Definition. Methods __construct(string $name, NodeParentInterface $parent = null) Constructor. from NodeDefinition NodeDefinition|$this setParent(NodeParentInterface $parent) Sets the parent node. from NodeDefinition NodeDefinition|$this info(string $info) Sets info message. from NodeDefinition NodeDefinition|$this example(string|array $example) Sets example configuration. from NodeDefinition NodeDefinition|$th

Form::getConfig()

FormConfigInterface getConfig() Returns the form's configuration. Return Value FormConfigInterface The configuration

Bundle\FrameworkBundle\Console

Classes Application Application. Shell Shell.

RecursiveContextualValidator::getViolations()

ConstraintViolationListInterface getViolations() Returns the violations that have been generated so far in the context of the validator. Return Value ConstraintViolationListInterface The constraint violations

GuardAuthenticatorInterface::checkCredentials()

bool checkCredentials(mixed $credentials, UserInterface $user) Returns true if the credentials are valid. If any value other than true is returned, authentication will fail. You may also throw an AuthenticationException if you wish to cause authentication to fail. The credentials are the return value from getCredentials() Parameters mixed $credentials UserInterface $user Return Value bool Exceptions AuthenticationException

TranslationCollectionType::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Builds the form. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the form. Parameters FormBuilderInterface $builder The form builder array $options The options

LanguageBundleTransformationRule::beforeCreateStub()

mixed beforeCreateStub(StubbingContextInterface $context) Runs instructions to be executed before creating the stub version of the resource bundle. Parameters StubbingContextInterface $context The contextual information of the compilation. Return Value mixed The data to include in the stub version.

PropertyPathInterface

interface PropertyPathInterface implements Traversable A sequence of property names or array indices. Methods string __toString() Returns the string representation of the property path. int getLength() Returns the length of the property path, i.e. the number of elements. PropertyPath getParent() Returns the parent property path. array getElements() Returns the elements of the property path as array. string getElement(int $index) Returns the element at the given index

PropertyAccessor::isWritable()

bool isWritable(object|array $objectOrArray, string|PropertyPathInterface $propertyPath) Returns whether a value can be written at a given property path. Whenever this method returns true, {@link setValue()} is guaranteed not to throw an exception when called with the same arguments. Parameters object|array $objectOrArray The object or array to check string|PropertyPathInterface $propertyPath The property path to check Return Value bool Whether the value can be set Exceptions

BaseValidatorExtension

class BaseValidatorExtension extends AbstractTypeExtension Encapsulates common logic of {@link FormTypeValidatorExtension} and {@link SubmitTypeValidatorExtension}. Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. from AbstractTypeExtension buildView(FormView $view, FormInterface $form, array $options) Builds the view. from AbstractTypeExtension finishView(FormView $view, FormInterface $form, array $options) Finishes the view. from AbstractTypeEx