ResetType

class ResetType extends AbstractType implements ButtonTypeInterface A reset button. Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. from AbstractType buildView(FormView $view, FormInterface $form, array $options) Builds the form view. from AbstractType finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from AbstractType configureOptions(OptionsResolver $resolver) Configures the options for this type. from

NodeDefinition::setParent()

NodeDefinition|$this setParent(NodeParentInterface $parent) Sets the parent node. Parameters NodeParentInterface $parent The parent Return Value NodeDefinition|$this

TimeValidator::validate()

validate(mixed $value, Constraint $constraint) Checks if the passed value is valid. Parameters mixed $value The value that should be validated Constraint $constraint The constraint for the validation

Component\DependencyInjection\ParameterBag

Classes FrozenParameterBag Holds read-only parameters. ParameterBag Holds parameters. Interfaces ParameterBagInterface ParameterBagInterface.

InMemoryTokenProvider::updateToken()

updateToken(string $series, string $tokenValue, DateTime $lastUsed) Updates the token according to this data. Parameters string $series string $tokenValue DateTime $lastUsed Exceptions TokenNotFoundException if the token is not found

CollectionToArrayTransformer

class CollectionToArrayTransformer implements DataTransformerInterface Methods mixed transform(Collection $collection) Transforms a collection into an array. mixed reverseTransform(mixed $array) Transforms choice keys into entities. Details mixed transform(Collection $collection) Transforms a collection into an array. Parameters Collection $collection A collection of entities Return Value mixed The value in the transformed representation E

Hour2400Transformer::getReverseMatchingRegExp()

string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). Parameters int $length The length of the value to be reverse matched Return Value string The reverse matching regular expression

Crawler::first()

Crawler first() Returns the first node of the current selection. Return Value Crawler A Crawler instance with the first selected node

DateTimeToArrayTransformer::reverseTransform()

mixed reverseTransform(mixed $value) Transforms a localized date into a normalized date. Parameters mixed $value The value in the transformed representation Return Value mixed The value in the original representation Exceptions TransformationFailedException If the given value is not an array, if the value could not be transformed

InputDefinition::getOption()

InputOption getOption(string $name) Returns an InputOption by name. Parameters string $name The InputOption name Return Value InputOption A InputOption object Exceptions InvalidArgumentException When option given doesn't exist