1: <?php declare(strict_types = 1);
2:
3: namespace PHPStan\Type;
4:
5: use PHPStan\TrinaryLogic;
6:
7: /** @api */
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 isGreaterThan(Type $otherType): TrinaryLogic;
16:
17: public function isGreaterThanOrEqual(Type $otherType): TrinaryLogic;
18:
19: }
20: