File ManagerCurrent Directory: wp-content/plugins/wp-migrate-db/vendor/vlucas/phpdotenv/src/ResultLinux appserver-0d5e4f1e-php-cc8da225320a42ba9b7d66cba40b1f03 6.6.123+ #1 SMP PREEMPT_DYNAMIC Wed Mar 11 09:04:28 UTC 2026 x86_64Edit File: Result.php <?php namespace DeliciousBrains\WPMDB\Container\Dotenv\Result; /** * @template T * @template E */ abstract class Result { /** * Get the success option value. * * @return \PhpOption\Option<T> */ public abstract 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<S,E> */ public abstract function mapSuccess(callable $f); /** * Get the error option value. * * @return \PhpOption\Option<E> */ public abstract 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<T,F> */ public abstract function mapError(callable $f); } Upload File Directory Listing NameTypeSizeActions.. (Parent Directory)DirError.phpFile1.65 KB Rename | Delete | EditResult.phpFile1.21 KB Rename | Delete | EditSuccess.phpFile1.66 KB Rename | Delete | Edit