class RealisticDummyContentUnitTestCaseDummyFile in Realistic Dummy Content 3.x
Hierarchy
- class \Drupal\Tests\realistic_dummy_content_api\Unit\includes\RealisticDummyContentUnitTestCaseDummyFile
Expanded class hierarchy of RealisticDummyContentUnitTestCaseDummyFile
File
- api/
tests/ src/ Unit/ includes/ RealisticDummyContentEnvironmentTest.php, line 12
Namespace
Drupal\Tests\realistic_dummy_content_api\Unit\includesView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RealisticDummyContentUnitTestCaseDummyFile:: |
private | property | The value to return. | |
RealisticDummyContentUnitTestCaseDummyFile:: |
public | function | Returns the dummy value. | |
RealisticDummyContentUnitTestCaseDummyFile:: |
public | function | Constructor. |