Used constants when possible when parsing app config

This commit is contained in:
Alejandro Celaya
2018-10-06 11:12:42 +02:00
parent 3b95925217
commit 0d9c7282df
5 changed files with 47 additions and 42 deletions

View File

@@ -13,8 +13,8 @@ class ApplicationConfigCustomizer implements ConfigCustomizerInterface
{
use StringUtilsTrait;
private const SECRET = 'SECRET';
private const DISABLE_TRACK_PARAM = 'DISABLE_TRACK_PARAM';
public const SECRET = 'SECRET';
public const DISABLE_TRACK_PARAM = 'DISABLE_TRACK_PARAM';
private const EXPECTED_KEYS = [
self::SECRET,
self::DISABLE_TRACK_PARAM,