1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace PHPStan\Type; |
4: | |
5: | use PHPStan\Reflection\ClassReflection; |
6: | |
7: | /** @api */ |
8: | interface TypeWithClassName extends Type |
9: | { |
10: | |
11: | public function getClassName(): string; |
12: | |
13: | public function getAncestorWithClassName(string $className): ?self; |
14: | |
15: | public function getClassReflection(): ?ClassReflection; |
16: | |
17: | } |
18: |