Error::mapError( callable $f )
Map over the error value.
Parameters
- $f
-
(Required)
Return
(DotenvRegexResult)
Source
File: vendor/vlucas/phpdotenv/src/Regex/Error.php
public function mapError(callable $f)
{
return self::create($f($this->value));
}