for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Psi\Component\ContentType\Standard\Field;
use Psi\Component\ContentType\FieldInterface;
use Psi\Component\ContentType\OptionsResolver\FieldOptionsResolver;
use Psi\Component\ContentType\Standard\Storage\StringType;
use Psi\Component\ContentType\Standard\View\ScalarType;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
class ChoiceField implements FieldInterface
{
public function getViewType(): string
return ScalarType::class;
}
public function getFormType(): string
return ChoiceType::class;
public function getStorageType(): string
return StringType::class;
public function configureOptions(FieldOptionsResolver $options)