1: <?php declare(strict_types = 1);
2:
3: namespace PHPStan\Reflection;
4:
5: use PHPStan\Type\Type;
6:
7: /** @api */
8: interface ParameterReflection
9: {
10:
11: public function getName(): string;
12:
13: public function isOptional(): bool;
14:
15: public function getType(): Type;
16:
17: public function passedByReference(): PassedByReference;
18:
19: public function isVariadic(): bool;
20:
21: public function getDefaultValue(): ?Type;
22:
23: }
24: