<?php
namespace App\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
class SwitchType extends AbstractType
{
public function getBlockPrefix()
{
return 'switch';
}
public function getParent()
{
return CheckboxType::class;
}
}