public function buildForm(FormBuilderInterface $builder, array $options)
{
$app = $this->app;
$builder->add('current_password', 'password', array('label' => '現在のパスワード', 'constraints' => array(new Assert\NotBlank(), new UserPassword())))->add('change_password', 'repeated', array('first_options' => array('label' => '新しいパスワード'), 'second_options' => array('label' => '新しいパスワード(確認)'), 'constraints' => array(new Assert\NotBlank(), new Assert\Length(array('min' => $app['config']['password_min_len'], 'max' => $app['config']['password_max_len'])), new Assert\Regex(array('pattern' => '/^[[:graph:][:space:]]+$/i', 'message' => 'form.type.graph.invalid')))))->addEventSubscriber(new \Eccube\Event\FormEventSubscriber());
}