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 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
public function __construct(
array $commandPaths = [],
array $dynamicVariables = [],
array $constants = [],
array $templates = [],
array $dotenvPaths = []
) {
$this->commandPaths = $commandPaths;
$this->dynamicVariables = $dynamicVariables;
$this->constants = $constants;
$this->templates = $templates;
$this->dotenvPaths = $dotenvPaths;
}
* @return array
public function getAllScriptPaths(): 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;