abstract class CompilerInputBase in Compiler 1.0.x
A compiler input base class.
Copyright (C) 2021 Library Solutions, LLC (et al.).
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Hierarchy
- class \Drupal\compiler\CompilerInputBase implements CompilerInputInterface
Expanded class hierarchy of CompilerInputBase
File
- src/
CompilerInputBase.php, line 15
Namespace
Drupal\compilerView source
abstract class CompilerInputBase implements CompilerInputInterface {
/**
* The input value.
*
* @var mixed
*/
protected $value;
/**
* {@inheritdoc}
*/
public function __construct($value) {
$this->value = $value;
}
/**
* {@inheritdoc}
*/
public function get() {
return $this->value;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CompilerInputBase:: |
protected | property | The input value. | |
CompilerInputBase:: |
public | function |
Retrieve the value of this input. Overrides CompilerInputInterface:: |
|
CompilerInputBase:: |
public | function |