Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | namespace Apie\Core\Metadata; |
| 3 | |
| 4 | use Apie\Core\Context\ApieContext; |
| 5 | use Apie\Core\Context\MetadataFieldHashmap; |
| 6 | use Apie\Core\Enums\ScalarType; |
| 7 | use Apie\Core\Lists\StringList; |
| 8 | use Apie\Core\Lists\ValueOptionList; |
| 9 | use ReflectionClass; |
| 10 | |
| 11 | interface MetadataInterface |
| 12 | { |
| 13 | public function getHashmap(): MetadataFieldHashmap; |
| 14 | public function getRequiredFields(): StringList; |
| 15 | public function toScalarType(): ScalarType; |
| 16 | public function getArrayItemType(): ?MetadataInterface; |
| 17 | public function getValueOptions(ApieContext $context, bool $runtimeFilter = false): ?ValueOptionList; |
| 18 | /** |
| 19 | * @return ReflectionClass<object>|null |
| 20 | */ |
| 21 | public function toClass(): ?ReflectionClass; |
| 22 | } |