4 * This file is part of the Behat Testwork.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace Behat\Testwork\Call;
13 use ReflectionFunctionAbstract;
16 * Represents callable object.
18 * @author Konstantin Kudryashov <ever.zet@gmail.com>
23 * Returns callee definition path.
27 public function getPath();
30 * Returns callee description.
34 public function getDescription();
37 * Returns true if callee is a method, false otherwise.
41 public function isAMethod();
44 * Returns true if callee is an instance (non-static) method, false otherwise.
48 public function isAnInstanceMethod();
55 public function getCallable();
58 * Returns callable reflection.
60 * @return ReflectionFunctionAbstract
62 public function getReflection();