<?php
namespace App\Form;
use App\Entity\Equipo;
use App\Entity\Impresora;
use App\Entity\Red;
use App\Entity\Otro;
use App\Entity\Insumo;
use App\Entity\refaccion;
use App\Entity\Periodo;
use App\Entity\Unidad;
use App\Entity\Usuario;
use Doctrine\ORM\EntityRepository;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\Extension\Core\Type\DateType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
class VerificarType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options): void
{
$builder
->add('cadena', TextareaType::class, [
'label' => 'Cadena de verificación',
'attr' => [
'class' => 'form-control',
'rows' => 5
]
])
;
}
public function configureOptions(OptionsResolver $resolver): void
{
$resolver->setDefaults([
'data_class' => null
]);
}
//Para subir formulario
}