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\Hook;
13 use Behat\Testwork\Call\Callee;
16 * Represents a Testwork hook.
18 * @author Konstantin Kudryashov <ever.zet@gmail.com>
20 interface Hook extends Callee
27 public function getName();
30 * Returns hook scope name.
34 public function getScopeName();
37 * Represents hook as a string.
41 public function __toString();