public static function string($value)
    {
        if (static::stringable($value)) {
            $value = (string) $value;
        } else {
            $value = null;
        }

        return $value;
    }
public static function string($value)
    {
        if (static::stringable($value)) {
            $value = (string) $value;
        } else {
            $value = null;
        }

        return $value;
    }
public static function string ( $ value ) { if ( static :: stringable ( $ value ) ) { $ value = ( string ) $ value ; } else { $ value = null ; } return $ value ; }
Get value treated as string

@param mixed $value Value

@return string|null
Get value treated as string