Completed
Push — 2.x ( cd0ffb...bc97c8 )
by Akihito
21s queued 11s
created

src/Invocation.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ray\Aop;
6
7
/**
8
 * This interface represents an invocation in the program.
9
 *
10
 * An invocation is a joinpoint and can be intercepted by an interceptor.
11
 *
12
 * @see http://aopalliance.sourceforge.net/doc/org/aopalliance/intercept/Invocation.html
13
 */
14
interface Invocation extends Joinpoint
15
{
16
    /**
17
     * Get the arguments as an array object.
18
     *
19
     * @return \ArrayObject<int, scalar> the argument of the invocation ['arg1', 'arg2']
20
     */
21
    public function getArguments() : \ArrayObject;
22
23
    /**
24
     * Get the named arguments as an array object.
25
     *
26
     * @return \ArrayObject<string, scalar> the argument of the invocation  [`paramName1'=>'arg1', `paramName2'=>'arg2']
0 ignored issues
show
The doc-type \ArrayObject<string, could not be parsed: Expected "|" or "end of type", but got "<" at position 12. (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
27
     */
28
    public function getNamedArguments() : \ArrayObject;
29
}
30