Encore\Admin\Form\Field::value PHP Method

value() public method

Set or get value of the field.
public value ( null $value = null ) : mixed
$value null
return mixed
    public function value($value = null)
    {
        if (is_null($value)) {
            if (is_null($this->default)) {
                //$this->default = Input::get($this->column);
            }
            return is_null($this->value) ? $this->default : $this->value;
        }
        $this->value = $value;
    }