You are here

class RealisticDummyContentUnitTestCaseDummyFile in Realistic Dummy Content 3.x

Hierarchy

Expanded class hierarchy of RealisticDummyContentUnitTestCaseDummyFile

File

api/tests/src/Unit/includes/RealisticDummyContentEnvironmentTest.php, line 12

Namespace

Drupal\Tests\realistic_dummy_content_api\Unit\includes
View source
class RealisticDummyContentUnitTestCaseDummyFile {

  /**
   * The value to return.
   *
   * @var mixed
   */
  private $value;

  /**
   * Constructor.
   *
   * @param mixed $value
   *   The value to return.
   */
  public function __construct($value) {
    $this->value = $value;
  }

  /**
   * Returns the dummy value.
   *
   * @return mixed
   *   The value we used when creating this object.
   */
  public function value() {
    return $this->value;
  }

}

Members