/home/techb158/ileadtechnology.com/vendor/vlucas/phpdotenv/src/Result
NameSizeModeActions
Error.php16030644editdlrm
Result.php12120644editdlrm
Success.php16060644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/vlucas/phpdotenv/src/Result/Result.php (1212B)
*/ abstract public function success(); /** * Get the success value, if possible. * * @throws \RuntimeException * * @return T */ public function getSuccess() { return $this->success()->get(); } /** * Map over the success value. * * @template S * * @param callable(T):S $f * * @return \Dotenv\Result\Result */ abstract public function mapSuccess(callable $f); /** * Get the error option value. * * @return \PhpOption\Option */ abstract public function error(); /** * Get the error value, if possible. * * @throws \RuntimeException * * @return E */ public function getError() { return $this->error()->get(); } /** * Map over the error value. * * @template F * * @param callable(E):F $f * * @return \Dotenv\Result\Result */ abstract public function mapError(callable $f); }