Generates the entity form class if it does not exist.
public generate ( Symfony\Component\HttpKernel\Bundle\BundleInterface $bundle, string $entity, Doctrine\ORM\Mapping\ClassMetadataInfo $metadata ) | ||
$bundle | Symfony\Component\HttpKernel\Bundle\BundleInterface | The bundle in which to create the class |
$entity | string | The entity relative class name |
$metadata | Doctrine\ORM\Mapping\ClassMetadataInfo | The entity metadata class |