1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace PHPStan\Type\Generic; |
4: | |
5: | use PHPStan\Type\ObjectWithoutClassType; |
6: | use PHPStan\Type\Traits\UndecidedComparisonCompoundTypeTrait; |
7: | |
8: | |
9: | class TemplateObjectWithoutClassType extends ObjectWithoutClassType implements TemplateType |
10: | { |
11: | |
12: | use UndecidedComparisonCompoundTypeTrait; |
13: | |
14: | use TemplateTypeTrait; |
15: | |
16: | public function __construct( |
17: | TemplateTypeScope $scope, |
18: | TemplateTypeStrategy $templateTypeStrategy, |
19: | TemplateTypeVariance $templateTypeVariance, |
20: | string $name, |
21: | ObjectWithoutClassType $bound, |
22: | ) |
23: | { |
24: | parent::__construct(); |
25: | |
26: | $this->scope = $scope; |
27: | $this->strategy = $templateTypeStrategy; |
28: | $this->variance = $templateTypeVariance; |
29: | $this->name = $name; |
30: | $this->bound = $bound; |
31: | } |
32: | |
33: | } |
34: | |