CurrencyValidator

class CurrencyValidator extends ConstraintValidator Validates whether a value is a valid currency. Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator validate(mixed $value, Constraint $constraint) Checks if the passed value is val

CustomAuthenticationFailureHandler

class CustomAuthenticationFailureHandler implements AuthenticationFailureHandlerInterface Methods __construct(AuthenticationFailureHandlerInterface $handler, array $options) Constructor. Response onAuthenticationFailure(Request $request, AuthenticationException $exception) This is called when an interactive authentication attempt fails. This is called by authentication listeners inheriting from AbstractAuthenticationListener. Details __construct(Authen

CustomAuthenticationSuccessHandler

class CustomAuthenticationSuccessHandler implements AuthenticationSuccessHandlerInterface Methods __construct(AuthenticationSuccessHandlerInterface $handler, array $options, string $providerKey) Constructor. Response onAuthenticationSuccess(Request $request, TokenInterface $token) This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener. Details __const

CurrencyType::configureOptions()

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

CurrencyType::getParent()

string|null getParent() Returns the name of the parent type. Return Value string|null The name of the parent type if any, null otherwise

CurrencyType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name

CurrencyType

class CurrencyType extends AbstractType 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. string getBlockPrefix() Returns the prefix of

CurrencyDataProvider::getNames()

getNames($displayLocale = null) Parameters $displayLocale

CurrencyDataProvider::getName()

getName($currency, $displayLocale = null) Parameters $currency $displayLocale

CurrencyDataProvider::getRoundingIncrement()

getRoundingIncrement($currency) Data provider for {@link \Symfony\Component\Intl\Currency::getRoundingIncrement()}. Parameters $currency