Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / behat / behat / src / Behat / Behat / HelperContainer / Exception / ServiceNotFoundException.php
diff --git a/vendor/behat/behat/src/Behat/Behat/HelperContainer/Exception/ServiceNotFoundException.php b/vendor/behat/behat/src/Behat/Behat/HelperContainer/Exception/ServiceNotFoundException.php
deleted file mode 100644 (file)
index 02bd601..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 Interop\Container\Exception\NotFoundException;
-use InvalidArgumentException;
-
-/**
- * Represents an exception thrown when service ID is not found inside the container.
- *
- * @author Konstantin Kudryashov <ever.zet@gmail.com>
- */
-final class ServiceNotFoundException extends InvalidArgumentException implements HelperContainerException, NotFoundException
-{
-    /**
-     * @var string
-     */
-    private $serviceId;
-
-    /**
-     * Initializes exception.
-     *
-     * @param string $message
-     * @param string $serviceId
-     */
-    public function __construct($message, $serviceId)
-    {
-        $this->serviceId = $serviceId;
-
-        parent::__construct($message);
-    }
-
-    /**
-     * Returns service ID that caused exception.
-     *
-     * @return string
-     */
-    public function getServiceId()
-    {
-        return $this->serviceId;
-    }
-}