injectFn([$obj, 'publicMethod'])` * * `$context->injectFn([$this, 'publicMethod'])` * * `$context->injectFn(\Closure::fromCallable([$this, 'privateMethod']))` * * Note: the app container will be queried * * @param callable $fn * @throws ContainerExceptionInterface if at least one of the parameter can't be resolved * @throws Throwable any error the function invocation might cause * @return mixed|null the return value of the invoked function, if any * @since 20.0.0 */ public function injectFn(callable $fn); } Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Http/Client/ResponseTest.php
blob: 685f34a0bafd3d738ca4a29f897f4cf059546e22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38