Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drupal / drupal-extension / src / Drupal / DrupalExtension / Hook / Scope / BaseEntityScope.php
diff --git a/vendor/drupal/drupal-extension/src/Drupal/DrupalExtension/Hook/Scope/BaseEntityScope.php b/vendor/drupal/drupal-extension/src/Drupal/DrupalExtension/Hook/Scope/BaseEntityScope.php
deleted file mode 100644 (file)
index 055e153..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-<?php
-/**
- * @file
- * Entity scope.
- */
-namespace Drupal\DrupalExtension\Hook\Scope;
-
-use Behat\Behat\Context\Context;
-use Behat\Testwork\Environment\Environment;
-use Behat\Testwork\Hook\Scope\HookScope;
-
-/**
- * Represents an Entity hook scope.
- */
-abstract class BaseEntityScope implements EntityScope {
-
-  /**
-   * @var Environment
-   */
-  private $environment;
-
-  /**
-   * Context object.
-   *
-   * @var \Behat\Behat\Context\Context
-   */
-  private $context;
-
-  /**
-   * Entity object.
-   */
-  private $entity;
-
-  /**
-   * Initializes the scope.
-   */
-  public function __construct(Environment $environment, Context $context, $entity) {
-    $this->context = $context;
-    $this->entity = $entity;
-    $this->environment = $environment;
-  }
-
-  /**
-   * Returns the context.
-   *
-   * @return \Behat\Behat\Context\Context
-   */
-  public function getContext() {
-    return $this->context;
-  }
-
-  /**
-   * Returns the entity object.
-   */
-  public function getEntity() {
-    return $this->entity;
-  }
-
-  /**
-   * {@inheritDoc}
-   */
-  public function getEnvironment() {
-    return $this->environment;
-  }
-
-  /**
-   * {@inheritDoc}
-   */
-  public function getSuite() {
-    return $this->environment->getSuite();
-  }
-}