for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Stu\Module\Config\Model;
final class MapSettings extends AbstractSettings implements MapSettingsInterface
{
private const CONFIG_PATH = 'map';
private const SETTING_ENCRYPTION_KEY = 'encryptionKey';
public function getEncryptionKey(): ?string
if ($this->exists(self::SETTING_ENCRYPTION_KEY)) {
$key = $this->getStringConfigValue(self::SETTING_ENCRYPTION_KEY);
return $key;
}
return null;
public function getConfigPath(): string
return self::CONFIG_PATH;