1 | <?php |
||
24 | class FunctionDescriptor extends DescriptorAbstract implements Interfaces\FunctionInterface |
||
25 | { |
||
26 | /** @var Collection $arguments */ |
||
27 | protected $arguments; |
||
28 | |||
29 | /** @var Type */ |
||
30 | private $returnType; |
||
31 | |||
32 | /** |
||
33 | * Initializes the all properties representing a collection with a new Collection object. |
||
34 | */ |
||
35 | 1 | public function __construct() |
|
41 | |||
42 | /** |
||
43 | * {@inheritDoc} |
||
44 | */ |
||
45 | 1 | public function setArguments(Collection $arguments) |
|
49 | |||
50 | /** |
||
51 | * {@inheritDoc} |
||
52 | */ |
||
53 | 1 | public function getArguments() |
|
57 | |||
58 | /** |
||
59 | * {@inheritDoc} |
||
60 | */ |
||
61 | 1 | public function getResponse(): ReturnDescriptor |
|
76 | |||
77 | /** |
||
78 | * Sets return type of this method. |
||
79 | */ |
||
80 | 1 | public function setReturnType(Type $returnType) |
|
84 | } |
||
85 |