Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.17.176.160
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
symfony /
routing /
Loader /
Delete
Unzip
Name
Size
Permission
Date
Action
Configurator
[ DIR ]
drwxr-xr-x
2018-11-29 09:00
DependencyInjection
[ DIR ]
drwxr-xr-x
2018-11-29 09:00
schema
[ DIR ]
drwxr-xr-x
2018-11-29 09:00
AnnotationClassLoader.php
11.12
KB
-rw-r--r--
2018-11-29 09:00
AnnotationDirectoryLoader.php
2.76
KB
-rw-r--r--
2018-11-29 09:00
AnnotationFileLoader.php
4.26
KB
-rw-r--r--
2018-11-29 09:00
ClosureLoader.php
1.04
KB
-rw-r--r--
2018-11-29 09:00
DirectoryLoader.php
1.46
KB
-rw-r--r--
2018-11-29 09:00
GlobFileLoader.php
1.02
KB
-rw-r--r--
2018-11-29 09:00
ObjectRouteLoader.php
3.37
KB
-rw-r--r--
2018-11-29 09:00
PhpFileLoader.php
1.97
KB
-rw-r--r--
2018-11-29 09:00
XmlFileLoader.php
16.57
KB
-rw-r--r--
2018-11-29 09:00
YamlFileLoader.php
11.53
KB
-rw-r--r--
2018-11-29 09:00
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\Routing\Loader; use Symfony\Component\Config\Loader\FileLoader; use Symfony\Component\Config\Resource\FileResource; use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator; use Symfony\Component\Routing\RouteCollection; /** * PhpFileLoader loads routes from a PHP file. * * The file must return a RouteCollection instance. * * @author Fabien Potencier <fabien@symfony.com> */ class PhpFileLoader extends FileLoader { /** * Loads a PHP file. * * @param string $file A PHP file path * @param string|null $type The resource type * * @return RouteCollection A RouteCollection instance */ public function load($file, $type = null) { $path = $this->locator->locate($file); $this->setCurrentDir(\dirname($path)); // the closure forbids access to the private scope in the included file $loader = $this; $load = \Closure::bind(function ($file) use ($loader) { return include $file; }, null, ProtectedPhpFileLoader::class); $result = $load($path); if (\is_object($result) && \is_callable($result)) { $collection = new RouteCollection(); $result(new RoutingConfigurator($collection, $this, $path, $file), $this); } else { $collection = $result; } $collection->addResource(new FileResource($path)); return $collection; } /** * {@inheritdoc} */ public function supports($resource, $type = null) { return \is_string($resource) && 'php' === pathinfo($resource, PATHINFO_EXTENSION) && (!$type || 'php' === $type); } } /** * @internal */ final class ProtectedPhpFileLoader extends PhpFileLoader { }