__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php /** * Assert * * LICENSE * * This source file is subject to the MIT license that is bundled * with this package in the file LICENSE.txt. * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so I can send you a copy immediately. */ namespace Assert; class LazyAssertionException extends InvalidArgumentException { /** * @var InvalidArgumentException[] */ private $errors = []; /** * @param InvalidArgumentException[] $errors */ public static function fromErrors(array $errors): self { $message = \sprintf('The following %d assertions failed:', \count($errors))."\n"; $i = 1; foreach ($errors as $error) { $message .= \sprintf("%d) %s: %s\n", $i++, $error->getPropertyPath(), $error->getMessage()); } return new static($message, $errors); } public function __construct($message, array $errors) { parent::__construct($message, 0, null, null); $this->errors = $errors; } /** * @return InvalidArgumentException[] */ public function getErrorExceptions(): array { return $this->errors; } }
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Assert.php | File | 2.54 KB | 0664 |
|
| Assertion.php | File | 118.24 KB | 0664 |
|
| AssertionChain.php | File | 17.51 KB | 0664 |
|
| AssertionFailedException.php | File | 637 B | 0664 |
|
| InvalidArgumentException.php | File | 1.61 KB | 0664 |
|
| LazyAssertion.php | File | 17.22 KB | 0664 |
|
| LazyAssertionException.php | File | 1.23 KB | 0664 |
|
| functions.php | File | 2 KB | 0664 |
|