1: <?php declare(strict_types = 1);
2:
3: namespace PHPStan\Reflection;
4:
5: use PHPStan\Type\Type;
6:
7: /** @api */
8: interface AllowedSubTypesClassReflectionExtension
9: {
10:
11: public function supports(ClassReflection $classReflection): bool;
12:
13: /**
14: * @return array<Type>
15: */
16: public function getAllowedSubTypes(ClassReflection $classReflection): array;
17:
18: }
19: