src/Record.php
public function set(string $name, $value): Record
    {
        if (!$this->isEditable()) {
            throw new SimplesRecordReadonlyError(['set' => [$name => $value]]);
        }
        $this->public[$name] = $value;
        return $this;
    }
public function set(string $name, $value): Record
    {
        if (!$this->isEditable()) {
            throw new SimplesRecordReadonlyError(['set' => [$name => $value]]);
        }
        $this->public[$name] = $value;
        return $this;
    }
public function set ( string $ name , $ value ) : Record { if ( ! $ this -> isEditable ( ) ) { throw new SimplesRecordReadonlyError ( [ 'set' => [ $ name => $ value ] ] ) ; } $ this -> public [ $ name ] = $ value ; return $ this ; }
Set a value of the Record
@param string $name
@param mixed $value
@return Record
@throws SimplesRunTimeError
Set a value of the Record