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 /
form /
Delete
Unzip
Name
Size
Permission
Date
Action
ChoiceList
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Command
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Console
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
DependencyInjection
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Event
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Exception
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Extension
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Guess
[ 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
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
AbstractExtension.php
4.46
KB
-rwxrwxr-x
2026-03-13 14:59
AbstractRendererEngine.php
7.79
KB
-rwxrwxr-x
2026-03-13 14:59
AbstractType.php
1.3
KB
-rwxrwxr-x
2026-03-13 14:59
AbstractTypeExtension.php
970
B
-rwxrwxr-x
2026-03-13 14:59
Button.php
7.93
KB
-rwxrwxr-x
2026-03-13 14:59
ButtonBuilder.php
15.71
KB
-rwxrwxr-x
2026-03-13 14:59
ButtonTypeInterface.php
462
B
-rwxrwxr-x
2026-03-13 14:59
CHANGELOG.md
32.58
KB
-rwxrwxr-x
2026-03-13 14:59
CallbackTransformer.php
832
B
-rwxrwxr-x
2026-03-13 14:59
ClearableErrorsInterface.php
648
B
-rwxrwxr-x
2026-03-13 14:59
ClickableInterface.php
501
B
-rwxrwxr-x
2026-03-13 14:59
DataAccessorInterface.php
1.57
KB
-rwxrwxr-x
2026-03-13 14:59
DataMapperInterface.php
2.47
KB
-rwxrwxr-x
2026-03-13 14:59
DataTransformerInterface.php
3.89
KB
-rwxrwxr-x
2026-03-13 14:59
FileUploadError.php
338
B
-rwxrwxr-x
2026-03-13 14:59
Form.php
36.11
KB
-rwxrwxr-x
2026-03-13 14:59
FormBuilder.php
6.85
KB
-rwxrwxr-x
2026-03-13 14:59
FormBuilderInterface.php
1.86
KB
-rwxrwxr-x
2026-03-13 14:59
FormConfigBuilder.php
18.16
KB
-rwxrwxr-x
2026-03-13 14:59
FormConfigBuilderInterface.php
7.15
KB
-rwxrwxr-x
2026-03-13 14:59
FormConfigInterface.php
5.13
KB
-rwxrwxr-x
2026-03-13 14:59
FormError.php
3.14
KB
-rwxrwxr-x
2026-03-13 14:59
FormErrorIterator.php
7.39
KB
-rwxrwxr-x
2026-03-13 14:59
FormEvent.php
1.05
KB
-rwxrwxr-x
2026-03-13 14:59
FormEvents.php
4.02
KB
-rwxrwxr-x
2026-03-13 14:59
FormExtensionInterface.php
1.4
KB
-rwxrwxr-x
2026-03-13 14:59
FormFactory.php
3.76
KB
-rwxrwxr-x
2026-03-13 14:59
FormFactoryBuilder.php
3.85
KB
-rwxrwxr-x
2026-03-13 14:59
FormFactoryBuilderInterface.php
2.35
KB
-rwxrwxr-x
2026-03-13 14:59
FormFactoryInterface.php
3.06
KB
-rwxrwxr-x
2026-03-13 14:59
FormInterface.php
9.26
KB
-rwxrwxr-x
2026-03-13 14:59
FormRegistry.php
4.57
KB
-rwxrwxr-x
2026-03-13 14:59
FormRegistryInterface.php
1.13
KB
-rwxrwxr-x
2026-03-13 14:59
FormRenderer.php
11.84
KB
-rwxrwxr-x
2026-03-13 14:59
FormRendererEngineInterface.php
6.11
KB
-rwxrwxr-x
2026-03-13 14:59
FormRendererInterface.php
3
KB
-rwxrwxr-x
2026-03-13 14:59
FormTypeExtensionInterface.php
1.71
KB
-rwxrwxr-x
2026-03-13 14:59
FormTypeGuesserChain.php
2.55
KB
-rwxrwxr-x
2026-03-13 14:59
FormTypeGuesserInterface.php
1.09
KB
-rwxrwxr-x
2026-03-13 14:59
FormTypeInterface.php
2.89
KB
-rwxrwxr-x
2026-03-13 14:59
FormView.php
3.46
KB
-rwxrwxr-x
2026-03-13 14:59
Forms.php
2.73
KB
-rwxrwxr-x
2026-03-13 14:59
LICENSE
1.04
KB
-rwxrwxr-x
2026-03-13 14:59
NativeRequestHandler.php
7.33
KB
-rwxrwxr-x
2026-03-13 14:59
PreloadedExtension.php
1.97
KB
-rwxrwxr-x
2026-03-13 14:59
README.md
483
B
-rwxrwxr-x
2026-03-13 14:59
RequestHandlerInterface.php
705
B
-rwxrwxr-x
2026-03-13 14:59
ResolvedFormType.php
5.32
KB
-rwxrwxr-x
2026-03-13 14:59
ResolvedFormTypeFactory.php
649
B
-rwxrwxr-x
2026-03-13 14:59
ResolvedFormTypeFactoryInterface.php
1.15
KB
-rwxrwxr-x
2026-03-13 14:59
ResolvedFormTypeInterface.php
2.17
KB
-rwxrwxr-x
2026-03-13 14:59
ReversedTransformer.php
1008
B
-rwxrwxr-x
2026-03-13 14:59
SubmitButton.php
1.07
KB
-rwxrwxr-x
2026-03-13 14:59
SubmitButtonBuilder.php
592
B
-rwxrwxr-x
2026-03-13 14:59
SubmitButtonTypeInterface.php
474
B
-rwxrwxr-x
2026-03-13 14:59
composer.json
2.25
KB
-rwxrwxr-x
2026-03-13 14:59
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\Form; use Symfony\Component\Form\Exception\ExceptionInterface; use Symfony\Component\Form\Exception\InvalidArgumentException; use Symfony\Component\Form\Exception\LogicException; use Symfony\Component\Form\Exception\UnexpectedTypeException; /** * The central registry of the Form component. * * @author Bernhard Schussek <bschussek@gmail.com> */ class FormRegistry implements FormRegistryInterface { /** * @var FormExtensionInterface[] */ private array $extensions = []; /** * @var ResolvedFormTypeInterface[] */ private array $types = []; private FormTypeGuesserInterface|false|null $guesser = false; private ResolvedFormTypeFactoryInterface $resolvedTypeFactory; private array $checkedTypes = []; /** * @param FormExtensionInterface[] $extensions * * @throws UnexpectedTypeException if any extension does not implement FormExtensionInterface */ public function __construct(array $extensions, ResolvedFormTypeFactoryInterface $resolvedTypeFactory) { foreach ($extensions as $extension) { if (!$extension instanceof FormExtensionInterface) { throw new UnexpectedTypeException($extension, FormExtensionInterface::class); } } $this->extensions = $extensions; $this->resolvedTypeFactory = $resolvedTypeFactory; } public function getType(string $name): ResolvedFormTypeInterface { if (!isset($this->types[$name])) { $type = null; foreach ($this->extensions as $extension) { if ($extension->hasType($name)) { $type = $extension->getType($name); break; } } if (!$type) { // Support fully-qualified class names if (!class_exists($name)) { throw new InvalidArgumentException(\sprintf('Could not load type "%s": class does not exist.', $name)); } if (!is_subclass_of($name, FormTypeInterface::class)) { throw new InvalidArgumentException(\sprintf('Could not load type "%s": class does not implement "Symfony\Component\Form\FormTypeInterface".', $name)); } $type = new $name(); } $this->types[$name] = $this->resolveType($type); } return $this->types[$name]; } /** * Wraps a type into a ResolvedFormTypeInterface implementation and connects it with its parent type. */ private function resolveType(FormTypeInterface $type): ResolvedFormTypeInterface { $parentType = $type->getParent(); $fqcn = $type::class; if (isset($this->checkedTypes[$fqcn])) { $types = implode(' > ', array_merge(array_keys($this->checkedTypes), [$fqcn])); throw new LogicException(\sprintf('Circular reference detected for form type "%s" (%s).', $fqcn, $types)); } $this->checkedTypes[$fqcn] = true; $typeExtensions = []; try { foreach ($this->extensions as $extension) { $typeExtensions[] = $extension->getTypeExtensions($fqcn); } return $this->resolvedTypeFactory->createResolvedType( $type, array_merge([], ...$typeExtensions), $parentType ? $this->getType($parentType) : null ); } finally { unset($this->checkedTypes[$fqcn]); } } public function hasType(string $name): bool { if (isset($this->types[$name])) { return true; } try { $this->getType($name); } catch (ExceptionInterface) { return false; } return true; } public function getTypeGuesser(): ?FormTypeGuesserInterface { if (false === $this->guesser) { $guessers = []; foreach ($this->extensions as $extension) { $guesser = $extension->getTypeGuesser(); if ($guesser) { $guessers[] = $guesser; } } $this->guesser = $guessers ? new FormTypeGuesserChain($guessers) : null; } return $this->guesser; } public function getExtensions(): array { return $this->extensions; } }