for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Shopware\Psh\Config;
/**
* A single configuration environment
*/
class ConfigEnvironment
{
* @var bool
private $hidden;
* @var array
private $commandPaths;
private $dynamicVariables;
private $constants;
private $templates;
private $dotenvPaths;
* @param array $commandPaths
* @param array $dynamicVariables
* @param array $constants
* @param array $templates
* @param array $dotenvPaths
* @param bool $hidden
public function __construct(
bool $hidden,
array $commandPaths = [],
array $dynamicVariables = [],
array $constants = [],
array $templates = [],
array $dotenvPaths = []
) {
$this->hidden = $hidden;
$this->commandPaths = $commandPaths;
$this->dynamicVariables = $dynamicVariables;
$this->constants = $constants;
$this->templates = $templates;
$this->dotenvPaths = $dotenvPaths;
}
* @return bool
public function isHidden(): bool
return $this->hidden;
* @return array
public function getAllScriptsPaths(): array
return $this->commandPaths;
public function getDynamicVariables(): array
return $this->dynamicVariables;
public function getConstants(): array
return $this->constants;
public function getTemplates(): array
return $this->templates;
public function getDotenvPaths(): array
return $this->dotenvPaths;