14 public static function getMetaType(
string $class,
string $property): ?
PropertyMetaType
16 $reflection =
new ReflectionProperty($class, $property);
17 $attributes = $reflection->getAttributes(MetaType::class);
19 foreach ($attributes as $attribute)
22 $attributeInstance = $attribute->newInstance();
24 return $attributeInstance->type;
32 if (
$type === PropertyMetaType::MemberSelectorCodes)
34 return Converter::convertToFinderCodes($value);