mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-19 00:26:02 +02:00
Renamed domain MethodManagement to Method
This commit is contained in:
34
application/symfony/src/Domain/Method/MethodPrefixType.php
Normal file
34
application/symfony/src/Domain/Method/MethodPrefixType.php
Normal 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,
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user