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 /
web-link /
Delete
Unzip
Name
Size
Permission
Date
Action
EventListener
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
CHANGELOG.md
100
B
-rwxrwxr-x
2026-01-01 13:45
GenericLinkProvider.php
1.44
KB
-rwxrwxr-x
2026-01-01 13:45
HttpHeaderSerializer.php
1.72
KB
-rwxrwxr-x
2026-01-01 13:45
LICENSE
1.04
KB
-rwxrwxr-x
2026-01-01 13:45
Link.php
7.95
KB
-rwxrwxr-x
2026-01-01 13:45
README.md
1.35
KB
-rwxrwxr-x
2026-01-01 13:45
composer.json
1014
B
-rwxrwxr-x
2026-01-01 13:45
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\WebLink; use Psr\Link\EvolvableLinkProviderInterface; use Psr\Link\LinkInterface; class GenericLinkProvider implements EvolvableLinkProviderInterface { /** * @var LinkInterface[] */ private array $links = []; /** * @param LinkInterface[] $links */ public function __construct(array $links = []) { $that = $this; foreach ($links as $link) { $that = $that->withLink($link); } $this->links = $that->links; } public function getLinks(): array { return array_values($this->links); } public function getLinksByRel(string $rel): array { $links = []; foreach ($this->links as $link) { if (\in_array($rel, $link->getRels())) { $links[] = $link; } } return $links; } public function withLink(LinkInterface $link): static { $that = clone $this; $that->links[spl_object_id($link)] = $link; return $that; } public function withoutLink(LinkInterface $link): static { $that = clone $this; unset($that->links[spl_object_id($link)]); return $that; } }