/
home
/
techb158
/
ileadtechnology.com
/
SSM
/
vendor
/
vlucas
/
phpdotenv
/
src
/
Result
/
/home/techb158/ileadtechnology.com/SSM/vendor/vlucas/phpdotenv/src/Result
mkdir
upload
Name
Size
Mode
Actions
Error.php
1556
0644
edit
dl
rm
Result.php
1212
0644
edit
dl
rm
Success.php
1559
0644
edit
dl
rm
Edit:
/home/techb158/ileadtechnology.com/SSM/vendor/vlucas/phpdotenv/src/Result/Result.php
(1212B)
<?php namespace Dotenv\Result; /** * @template T * @template E */ abstract class Result { /** * Get the success option value. * * @return \PhpOption\Option<T> */ 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<S,E> */ abstract public function mapSuccess(callable $f); /** * Get the error option value. * * @return \PhpOption\Option<E> */ 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<T,F> */ abstract public function mapError(callable $f); }
Save
cmd:
run