Eccube\Form\Type\ZipType::configureOptions PHP Method

configureOptions() public method

public configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver
    public function configureOptions(OptionsResolver $resolver)
    {
        $resolver->setDefaults(array('options' => array('constraints' => array()), 'zip01_options' => array('constraints' => array(new Assert\Type(array('type' => 'numeric', 'message' => 'form.type.numeric.invalid')), new Assert\Length(array('min' => $this->config['zip01_len'], 'max' => $this->config['zip01_len'])))), 'zip02_options' => array('constraints' => array(new Assert\Type(array('type' => 'numeric', 'message' => 'form.type.numeric.invalid')), new Assert\Length(array('min' => $this->config['zip02_len'], 'max' => $this->config['zip02_len'])))), 'zip01_name' => '', 'zip02_name' => '', 'error_bubbling' => false, 'inherit_data' => true, 'trim' => true));
    }