ldc-enum/tests/Enums/ContactFormCivility.php

24 lines
414 B
PHP
Raw Permalink Normal View History

2021-03-01 07:55:10 +01:00
<?php
namespace Kwaadpepper\Enum\Tests\Enums;
2021-09-11 11:09:10 +02:00
use Kwaadpepper\Enum\BaseEnumRoutable;
2021-03-01 07:55:10 +01:00
/**
* @method static self m()
* @method static self mme()
* @method static self mlle()
*/
2021-09-11 11:09:10 +02:00
final class ContactFormCivility extends BaseEnumRoutable
2021-03-01 07:55:10 +01:00
{
2023-05-30 09:27:27 +02:00
/**
* Output the value as a string
*
* @return string
*/
2021-03-01 07:55:10 +01:00
public function __toString(): string
{
2021-09-11 11:09:10 +02:00
return (string)$this->label;
2021-03-01 07:55:10 +01:00
}
}