Former\Traits\Field::value PHP Method

value() public method

Classic setting of attribute, won't overwrite any populate() attempt
public value ( string $value )
$value string A new value
    public function value($value)
    {
        // Check if we already have a value stored for this field or in POST data
        $already = $this->repopulate();
        if (!$already) {
            $this->value = $value;
        }
        return $this;
    }