1 | <?php |
||
19 | trait InOutControlBuilderTrait |
||
20 | { |
||
21 | /** |
||
22 | * @psalm-var TakenType |
||
23 | */ |
||
24 | protected $take; |
||
25 | |||
26 | /** |
||
27 | * @psalm-var ReturnedType |
||
28 | */ |
||
29 | protected $return; |
||
30 | |||
31 | /** |
||
32 | * @psalm-param TakenType $classNameOrObject |
||
33 | * @return $this |
||
34 | */ |
||
35 | public function take($classNameOrObject): self |
||
41 | |||
42 | /** |
||
43 | * @psalm-param TakenType $classNameOrObject |
||
44 | * @return $this |
||
45 | */ |
||
46 | public function return($classNameOrObject): self |
||
52 | |||
53 | /** |
||
54 | * @param EndpointConfigurationInterface $config |
||
55 | * @return $this |
||
56 | * @throws EndpointBuildingException |
||
57 | */ |
||
58 | protected function buildInOutParameters(EndpointConfigurationInterface $config) |
||
69 | } |
||
70 |