1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace PHPStan\Type; |
4: | |
5: | use PHPStan\TrinaryLogic; |
6: | |
7: | |
8: | interface CompoundType extends Type |
9: | { |
10: | |
11: | public function isSubTypeOf(Type $otherType): TrinaryLogic; |
12: | |
13: | public function isAcceptedBy(Type $acceptingType, bool $strictTypes): TrinaryLogic; |
14: | |
15: | public function isAcceptedWithReasonBy(Type $acceptingType, bool $strictTypes): AcceptsResult; |
16: | |
17: | public function isGreaterThan(Type $otherType): TrinaryLogic; |
18: | |
19: | public function isGreaterThanOrEqual(Type $otherType): TrinaryLogic; |
20: | |
21: | } |
22: | |