X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fbehat%2Fbehat%2Fsrc%2FBehat%2FBehat%2FTransformation%2FCall%2FRuntimeTransformation.php;fp=vendor%2Fbehat%2Fbehat%2Fsrc%2FBehat%2FBehat%2FTransformation%2FCall%2FRuntimeTransformation.php;h=0000000000000000000000000000000000000000;hp=5a5195553c994f49bbc45dd0da73f62fe17dc349;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/behat/behat/src/Behat/Behat/Transformation/Call/RuntimeTransformation.php b/vendor/behat/behat/src/Behat/Behat/Transformation/Call/RuntimeTransformation.php deleted file mode 100644 index 5a5195553..000000000 --- a/vendor/behat/behat/src/Behat/Behat/Transformation/Call/RuntimeTransformation.php +++ /dev/null @@ -1,59 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Behat\Behat\Transformation\Call; - -use Behat\Behat\Transformation\Transformation; -use Behat\Testwork\Call\RuntimeCallee; - -/** - * Transformation that is created and executed in the runtime. - * - * @deprecated Will be removed in 4.0. Use specific transformations instead - * - * @author Konstantin Kudryashov - */ -final class RuntimeTransformation extends RuntimeCallee implements Transformation -{ - /** - * @var string - */ - private $pattern; - - /** - * Initializes transformation. - * - * @param string $pattern - * @param callable $callable - * @param null|string $description - */ - public function __construct($pattern, $callable, $description = null) - { - $this->pattern = $pattern; - - parent::__construct($callable, $description); - } - - /** - * {@inheritdoc} - */ - public function getPattern() - { - return $this->pattern; - } - - /** - * {@inheritdoc} - */ - public function __toString() - { - return 'Transform ' . $this->getPattern(); - } -}