1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace ApiGen\Info; |
4: | |
5: | use PHPStan\PhpDocParser\Ast\Type\TypeNode; |
6: | |
7: | |
8: | class GenericParameterInfo |
9: | { |
10: | public function __construct( |
11: | public string $name, |
12: | public GenericParameterVariance $variance, |
13: | public ?TypeNode $bound = null, |
14: | public ?TypeNode $default = null, |
15: | public string $description = '', |
16: | ) { |
17: | } |
18: | } |
19: |