X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fbehat%2Fbehat%2Fsrc%2FBehat%2FTestwork%2FHook%2FCall%2FRuntimeHook.php;fp=vendor%2Fbehat%2Fbehat%2Fsrc%2FBehat%2FTestwork%2FHook%2FCall%2FRuntimeHook.php;h=0000000000000000000000000000000000000000;hp=5242fa8dbc2f93b70a49134df0ba5e20d3d7803c;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/behat/behat/src/Behat/Testwork/Hook/Call/RuntimeHook.php b/vendor/behat/behat/src/Behat/Testwork/Hook/Call/RuntimeHook.php deleted file mode 100644 index 5242fa8db..000000000 --- a/vendor/behat/behat/src/Behat/Testwork/Hook/Call/RuntimeHook.php +++ /dev/null @@ -1,57 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Behat\Testwork\Hook\Call; - -use Behat\Testwork\Call\RuntimeCallee; -use Behat\Testwork\Hook\Hook; - -/** - * Represents a hook executed during the execution runtime. - * - * @author Konstantin Kudryashov - */ -abstract class RuntimeHook extends RuntimeCallee implements Hook -{ - /** - * @var string - */ - private $scopeName; - - /** - * Initializes hook. - * - * @param string $scopeName - * @param callable $callable - * @param null|string $description - */ - public function __construct($scopeName, $callable, $description = null) - { - $this->scopeName = $scopeName; - - parent::__construct($callable, $description); - } - - /** - * {@inheritdoc} - */ - public function getScopeName() - { - return $this->scopeName; - } - - /** - * {@inheritdoc} - */ - public function __toString() - { - return $this->getName(); - } -}