Method | Description | |
---|---|---|
__construct ( Symfony\Component\HttpKernel\Util\Filesystem $filesystem, $skeletonDir ) | ||
generate ( Symfony\Component\HttpKernel\Bundle\BundleInterface $bundle, string $entity, Doctrine\ORM\Mapping\ClassMetadataInfo $metadata ) | Generates the entity form class if it does not exist. | |
getClassName ( ) | ||
getClassPath ( ) |
Method | Description | |
---|---|---|
getFieldsFromMetadata ( Doctrine\ORM\Mapping\ClassMetadataInfo $metadata ) : array | Returns an array of fields. Fields can be both column fields and association fields. |
public __construct ( Symfony\Component\HttpKernel\Util\Filesystem $filesystem, $skeletonDir ) | ||
$filesystem | Symfony\Component\HttpKernel\Util\Filesystem |
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 |