for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* This file is part of the Micro framework package.
*
* (c) Stanislau Komar <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Micro\Framework\Kernel\Test\Unit;
use Micro\Framework\Kernel\Configuration\PluginConfiguration;
/**
* @author Stanislau Komar <[email protected]>
class ConfigurableTestPluginConfiguration extends PluginConfiguration
{
public function getEnv(): string
return $this->configuration->get('APP_ENV', null, false);
}
public function getList(): array
$list = $this->configuration->get('ENV_LIST', null, false);
return $this->explodeStringToArray($list);
public function getAlreadyList(): array
return $this->explodeStringToArray($this->getList());
public function getListWithoutSeparator(): array
return $this->explodeStringToArray($this->configuration->get('ENV_LIST', null, false), '');
public function getRoutingKeyConfig(): ConfigurableTestPluginRoutingConfiguration
return new ConfigurableTestPluginRoutingConfiguration($this->configuration, 'TEST');