__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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 InvalidArgumentException extends \InvalidArgumentException implements AssertionFailedException { /** * @var string|null */ private $propertyPath; /** * @var mixed */ private $value; /** * @var array */ private $constraints; public function __construct($message, $code, string $propertyPath = null, $value = null, array $constraints = []) { parent::__construct($message, $code); $this->propertyPath = $propertyPath; $this->value = $value; $this->constraints = $constraints; } /** * User controlled way to define a sub-property causing * the failure of a currently asserted objects. * * Useful to transport information about the nature of the error * back to higher layers. * * @return string|null */ public function getPropertyPath() { return $this->propertyPath; } /** * Get the value that caused the assertion to fail. * * @return mixed */ public function getValue() { return $this->value; } /** * Get the constraints that applied to the failed assertion. */ public function getConstraints(): array { return $this->constraints; } }
| 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 |
|