private function unserializeValue($configurationValue, $configurationType)
    {
        switch ($configurationType) {

            case ElcodiConfigurationTypes::TYPE_BOOLEAN:
                $configurationValue = (boolean) $configurationValue;
                break;

            case ElcodiConfigurationTypes::TYPE_ARRAY:
                $configurationValue = json_decode($configurationValue, true);
                break;
        }

        return $configurationValue;
    }