4 * This file is part of the Behat.
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\Behat\Context\Annotation;
13 use Behat\Behat\Context\Reader\AnnotatedContextReader;
14 use Behat\Testwork\Call\Callee;
18 * Reads custom annotation of a provided context method into a Callee.
20 * @see AnnotatedContextReader
22 * @author Konstantin Kudryashov <ever.zet@gmail.com>
24 interface AnnotationReader
27 * Reads all callees associated with a provided method.
29 * @param string $contextClass
30 * @param ReflectionMethod $method
31 * @param string $docLine
32 * @param string $description
36 public function readCallee($contextClass, ReflectionMethod $method, $docLine, $description);