<?php
namespace App\Application\Internit\LeadBundle\Form;
use Symfony\Component\Form\AbstractType;
//use Internit\SecurityBundle\Entity\Resource;
use Symfony\Component\Form\FormBuilder;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use App\Application\Internit\LeadBundle\Entity\realStatePercent;
class realStatePercentCollectionType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->add('percent', TextType::class, [
'label' => 'porcentagem',
]);
}
public function configureOptions(OptionsResolver $resolver)
{
$resolver->setDefaults([
'data_class' => realStatePercent::class,
]);
}
public function setDefaultOptions(OptionsResolverInterface $resolver)
{
}
public function getName()
{
return 'realStatePercentCollectionType';
}
}