17 lines
324 B
PHP
17 lines
324 B
PHP
<?php
|
|
|
|
namespace App\Enums\ProntoAtendimento\Atendimento;
|
|
|
|
class MetodoProducao
|
|
{
|
|
const ATENDIMENTO = 1;
|
|
const FAA = 2;
|
|
|
|
public static function getConstantName($value)
|
|
{
|
|
$constants = array_flip((new \ReflectionClass(self::class))->getConstants());
|
|
|
|
return $constants[$value] ?? null;
|
|
}
|
|
}
|