1: <?php declare(strict_types = 1);
2:
3: namespace PHPStan\Reflection;
4:
5: use PHPStan\Type\Generic\TemplateTypeMap;
6: use PHPStan\Type\Type;
7:
8: /** @api */
9: interface ParametersAcceptor
10: {
11:
12: public const VARIADIC_FUNCTIONS = [
13: 'func_get_args',
14: 'func_get_arg',
15: 'func_num_args',
16: ];
17:
18: public function getTemplateTypeMap(): TemplateTypeMap;
19:
20: public function getResolvedTemplateTypeMap(): TemplateTypeMap;
21:
22: /**
23: * @return list<ParameterReflection>
24: */
25: public function getParameters(): array;
26:
27: public function isVariadic(): bool;
28:
29: public function getReturnType(): Type;
30:
31: }
32: