public function normalizeCondition($condition)
    {
        if ($condition === true || $condition === 1) {
            return 'true';
        }

        if ($condition === false || $condition === 0) {
            return 'false';
        }

        return Helper::slugify($condition);
    }
public function normalizeCondition($condition)
    {
        if ($condition === true || $condition === 1) {
            return 'true';
        }

        if ($condition === false || $condition === 0) {
            return 'false';
        }

        return Helper::slugify($condition);
    }
public function normalizeCondition ( $ condition ) { if ( $ condition === true || $ condition === 1 ) { return 'true' ; } if ( $ condition === false || $ condition === 0 ) { return 'false' ; } return Helper :: slugify ( $ condition ) ; }
Normalize condition for array key.

@param mixed $condition

@return string
Normalize condition for array key .