Codes/Theurgist/FormCode.php
<?php declare(strict_types=1);
namespace DrdPlus\Codes\Theurgist;
/**
* @method static FormCode getIt($codeValue)
* @method static FormCode findIt($codeValue)
*/
class FormCode extends AbstractTheurgistCode
{
public const DIRECT = 'direct';
public const INDIRECT = 'indirect';
public const VOLUME = 'volume';
public const PLANAR = 'planar';
public const BEAM = 'beam';
public const TANGIBLE = 'tangible';
public const INTANGIBLE = 'intangible';
public const VISIBLE = 'visible';
public const INVISIBLE = 'invisible';
public const BY_FORMULA = 'by_formula';
public static function getPossibleValues(): array
{
return [
self::DIRECT,
self::INDIRECT,
self::VOLUME,
self::PLANAR,
self::BEAM,
self::TANGIBLE,
self::INTANGIBLE,
self::VISIBLE,
self::INVISIBLE,
self::BY_FORMULA,
];
}
protected function fetchTranslations(): array
{
return [
'cs' => [
'one' => [
self::DIRECT => 'přímmá',
self::INDIRECT => 'nepřímá',
self::VOLUME => 'objemová',
self::PLANAR => 'plošná',
self::BEAM => 'paprsková',
self::TANGIBLE => 'hmotná',
self::INTANGIBLE => 'nehmotná',
self::VISIBLE => 'viditelná',
self::INVISIBLE => 'neviditelná',
self::BY_FORMULA => 'podle formule',
],
],
];
}
}