Implemented tests for LayerType

This commit is contained in:
Kevin Frantz
2018-11-06 22:42:24 +01:00
parent 0bc9ca20a9
commit b13ca37959
3 changed files with 54 additions and 3 deletions

View File

@@ -9,14 +9,14 @@ use Fresh\DoctrineEnumBundle\DBAL\Types\AbstractEnumType;
*/
final class LayerType extends AbstractEnumType
{
public const NODE = 'node';
public const RELATION = 'relation';
public const SOURCE = 'source';
public const LAW = 'law';
protected static $choices = [
self::NODE => 'node',
self::RELATION => 'relation',
self::LAW => 'law',
self::SOURCE => 'source',
];