Success::mapError( callable $f )

Map over the error value.


Parameters

$f

(Required)


Return

(DotenvRegexResult)


Source

File: vendor/vlucas/phpdotenv/src/Regex/Success.php

    public function mapError(callable $f)
    {
        return self::create($this->value);
    }