class RealisticDummyContentUnitTestCaseDummyFile in Realistic Dummy Content 8.2
Same name and namespace in other branches
- 7.2 api/src/test/includes/RealisticDummyContentEnvironmentTest.php \Drupal\realistic_dummy_content_api\Test\RealisticDummyContentUnitTestCaseDummyFile
Dummy file, used to test how fields manage files.
@group realistic_dummy_content
Hierarchy
- class \Drupal\realistic_dummy_content_api\Test\RealisticDummyContentUnitTestCaseDummyFile
Expanded class hierarchy of RealisticDummyContentUnitTestCaseDummyFile
File
- api/
src/ test/ includes/ RealisticDummyContentEnvironmentTest.php, line 14
Namespace
Drupal\realistic_dummy_content_api\TestView source
class RealisticDummyContentUnitTestCaseDummyFile {
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 | ||
RealisticDummyContentUnitTestCaseDummyFile:: |
public | function | Returns the dummy value. | |
RealisticDummyContentUnitTestCaseDummyFile:: |
public | function | Constructor. |