Trait Yiisoft\Form\Field\Base\InputData\InputDataTrait
| Implemented by | Yiisoft\ |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| inputData() | Yiisoft\ |
Protected Methods
| Method | Description | Defined By |
|---|---|---|
| getInputData() | Yiisoft\ |
Method Details
| protected Yiisoft\ |
final protected function getInputData(): InputDataInterface
{
if ($this->inputData === null) {
$this->inputData = new InputData();
}
return $this->inputData;
}
| public static inputData ( Yiisoft\ | ||
| $inputData | Yiisoft\ |
|
final public function inputData(InputDataInterface $inputData): static
{
$new = clone $this;
$new->inputData = $inputData;
return $new;
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.