src/RocknRoot/StrayFw/Database/Provider/Enum.php
public function setValue(string $v) : string
    {
        if (static::isValid($v) === false) {
            throw new BadUse('"' . $v . '" is not recognized as a possible value');
        }
        $this->value = $v;
    }
public function setValue(string $v) : string
    {
        if (static::isValid($v) === false) {
            throw new BadUse('"' . $v . '" is not recognized as a possible value');
        }
        $this->value = $v;
    }
public function setValue ( string $ v ) : string { if ( static :: isValid ( $ v ) === false ) { throw new BadUse ( '"' . $ v . '" is not recognized as a possible value' ) ; } $ this -> value = $ v ; }
Set current enum value.

@param string $v new value
@return string
Set current enum value .