Renamed domain MethodManagement to Method

This commit is contained in:
Kevin Frantz
2019-05-30 16:32:09 +02:00
parent 78fd41420b
commit 49d085388d
6 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,34 @@
<?php
namespace Infinito\Domain\Method;
use Fresh\DoctrineEnumBundle\DBAL\Types\AbstractEnumType;
/**
* Contains the possible prefixes for Methods.
*
* @author kevinfrantz
*/
final class MethodPrefixType extends AbstractEnumType
{
/**
* @var string Prefix for setter functions
*/
public const SET = 'set';
/**
* @var string Prefix for getter functions
*/
public const GET = 'get';
/**
* @var string Prefix for has functions
*/
public const HAS = 'has';
protected static $choices = [
self::GET,
self::HAS,
self::SET,
];
}