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 /
wb /
vendor /
symfony /
asset /
Delete
Unzip
Name
Size
Permission
Date
Action
Context
[ DIR ]
drwxrwxr-x
2022-03-18 16:00
Exception
[ DIR ]
drwxrwxr-x
2022-03-18 16:00
VersionStrategy
[ DIR ]
drwxrwxr-x
2022-03-18 16:00
CHANGELOG.md
625
B
-rw-rw-r--
2022-03-18 16:00
LICENSE
1.04
KB
-rw-rw-r--
2022-03-18 16:00
Package.php
1.73
KB
-rw-rw-r--
2022-03-18 16:00
PackageInterface.php
672
B
-rw-rw-r--
2022-03-18 16:00
Packages.php
2.84
KB
-rw-rw-r--
2022-03-18 16:00
PathPackage.php
1.92
KB
-rw-rw-r--
2022-03-18 16:00
README.md
552
B
-rw-rw-r--
2022-03-18 16:00
UrlPackage.php
3.74
KB
-rw-rw-r--
2022-03-18 16:00
composer.json
1.11
KB
-rw-rw-r--
2022-03-18 16: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\Asset; use Symfony\Component\Asset\Context\ContextInterface; use Symfony\Component\Asset\Context\NullContext; use Symfony\Component\Asset\VersionStrategy\VersionStrategyInterface; /** * Basic package that adds a version to asset URLs. * * @author Kris Wallsmith <kris@symfony.com> * @author Fabien Potencier <fabien@symfony.com> */ class Package implements PackageInterface { private $versionStrategy; private $context; public function __construct(VersionStrategyInterface $versionStrategy, ContextInterface $context = null) { $this->versionStrategy = $versionStrategy; $this->context = $context ?? new NullContext(); } /** * {@inheritdoc} */ public function getVersion(string $path) { return $this->versionStrategy->getVersion($path); } /** * {@inheritdoc} */ public function getUrl(string $path) { if ($this->isAbsoluteUrl($path)) { return $path; } return $this->versionStrategy->applyVersion($path); } /** * @return ContextInterface */ protected function getContext() { return $this->context; } /** * @return VersionStrategyInterface */ protected function getVersionStrategy() { return $this->versionStrategy; } /** * @return bool */ protected function isAbsoluteUrl(string $url) { return str_contains($url, '://') || '//' === substr($url, 0, 2); } }