Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / HelperContainer / Exception / UnsupportedCallException.php
diff --git a/vendor/behat/behat/src/Behat/Behat/HelperContainer/Exception/UnsupportedCallException.php b/vendor/behat/behat/src/Behat/Behat/HelperContainer/Exception/UnsupportedCallException.php
deleted file mode 100644 (file)
index 7f16ca8..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<?php
-
-/*
- * This file is part of the Behat.
- * (c) Konstantin Kudryashov <ever.zet@gmail.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Behat\Behat\HelperContainer\Exception;
-
-use Behat\Testwork\Call\Call;
-use InvalidArgumentException;
-
-/**
- * Represents an exception caused by an attempt to filter an unsupported call.
- *
- * @author Konstantin Kudryashov <ever.zet@gmail.com>
- */
-final class UnsupportedCallException extends InvalidArgumentException implements HelperContainerException
-{
-    /**
-     * @var Call
-     */
-    private $call;
-
-    /**
-     * Initializes exception.
-     *
-     * @param string $message
-     * @param Call   $call
-     */
-    public function __construct($message, Call $call)
-    {
-        parent::__construct($message);
-
-        $this->call = $call;
-    }
-
-    /**
-     * Returns a call that caused exception.
-     *
-     * @return Call
-     */
-    public function getCall()
-    {
-        return $this->call;
-    }
-}