PasswordType::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options

PasswordType::buildView()

buildView(FormView $view, FormInterface $form, array $options) Builds the form view. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the view. A view of a form is built before the views of the child forms are built. This means that you cannot access child views in this method. If you need to do so, move your logic to {@link finishView()} instead. Parameters FormView $view The view FormInterface $form The form

PasswordType

class PasswordType extends AbstractType Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. from AbstractType buildView(FormView $view, FormInterface $form, array $options) Builds the form view. finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from AbstractType configureOptions(OptionsResolver $resolver) Configures the options for this type. string getBlockPrefix() Returns the prefix of the template bloc

PasswordEncoderInterface::isPasswordValid()

bool isPasswordValid(string $encoded, string $raw, string $salt) Checks a raw password against an encoded password. Parameters string $encoded An encoded password string $raw A raw password string $salt The salt Return Value bool true if the password is valid, false otherwise

PasswordEncoderInterface::encodePassword()

string encodePassword(string $raw, string $salt) Encodes the raw password. Parameters string $raw The password to encode string $salt The salt Return Value string The encoded password

PasswordEncoderInterface

interface PasswordEncoderInterface PasswordEncoderInterface is the interface for all encoders. Methods string encodePassword(string $raw, string $salt) Encodes the raw password. bool isPasswordValid(string $encoded, string $raw, string $salt) Checks a raw password against an encoded password. Details string encodePassword(string $raw, string $salt) Encodes the raw password. Parameters string $raw The password to encode string $salt The s

PassConfig::setRemovingPasses()

setRemovingPasses(array $passes) Sets the Removing passes. Parameters array $passes An array of passes

PassConfig::setOptimizationPasses()

setOptimizationPasses(array $passes) Sets the Optimization passes. Parameters array $passes An array of passes

PassConfig::setMergePass()

setMergePass(CompilerPassInterface $pass) Sets the Merge Pass. Parameters CompilerPassInterface $pass The merge pass

PassConfig::setBeforeRemovingPasses()

setBeforeRemovingPasses(array $passes) Sets the BeforeRemoving passes. Parameters array $passes An array of passes