Security update for permissions_by_term
[yaffs-website] / vendor / behat / behat / src / Behat / Testwork / Call / Callee.php
1 <?php
2
3 /*
4  * This file is part of the Behat Testwork.
5  * (c) Konstantin Kudryashov <ever.zet@gmail.com>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 namespace Behat\Testwork\Call;
12
13 use ReflectionFunctionAbstract;
14
15 /**
16  * Represents callable object.
17  *
18  * @author Konstantin Kudryashov <ever.zet@gmail.com>
19  */
20 interface Callee
21 {
22     /**
23      * Returns callee definition path.
24      *
25      * @return string
26      */
27     public function getPath();
28
29     /**
30      * Returns callee description.
31      *
32      * @return string
33      */
34     public function getDescription();
35
36     /**
37      * Returns true if callee is a method, false otherwise.
38      *
39      * @return Boolean
40      */
41     public function isAMethod();
42
43     /**
44      * Returns true if callee is an instance (non-static) method, false otherwise.
45      *
46      * @return Boolean
47      */
48     public function isAnInstanceMethod();
49
50     /**
51      * Returns callable.
52      *
53      * @return callable
54      */
55     public function getCallable();
56
57     /**
58      * Returns callable reflection.
59      *
60      * @return ReflectionFunctionAbstract
61      */
62     public function getReflection();
63 }