1: <?php declare(strict_types=1);
2:
3: namespace Salient\Core;
4:
5: use Salient\Contract\Core\DictionaryInterface;
6:
7: /**
8: * Base class for dictionaries
9: *
10: * @api
11: *
12: * @template TValue
13: *
14: * @extends AbstractCatalog<TValue>
15: * @implements DictionaryInterface<TValue>
16: */
17: abstract class AbstractDictionary extends AbstractCatalog implements DictionaryInterface
18: {
19: /**
20: * @inheritDoc
21: */
22: public static function definitions(): array
23: {
24: return self::constants();
25: }
26: }
27: