src/Manager.php
private function initializeAndCleanSuperGlobal(&$superGlobal, &$localStorage)
    {
        $localStorage = [];
        if (!empty($superGlobal)) {
            foreach ($superGlobal as $variableName => $variableValue) {
                $localStorage[$variableName] = $this->cleanVariable($variableValue);
            }
        }
    }
private function initializeAndCleanSuperGlobal(&$superGlobal, &$localStorage)
    {
        $localStorage = [];
        if (!empty($superGlobal)) {
            foreach ($superGlobal as $variableName => $variableValue) {
                $localStorage[$variableName] = $this->cleanVariable($variableValue);
            }
        }
    }
private function initializeAndCleanSuperGlobal ( & $ superGlobal , & $ localStorage ) { $ localStorage = [ ] ; if ( ! empty ( $ superGlobal ) ) { foreach ( $ superGlobal as $ variableName => $ variableValue ) { $ localStorage [ $ variableName ] = $ this -> cleanVariable ( $ variableValue ) ; } } }
Initialize local storage of a super global and kill the super global version

@param array $superGlobal
@param string $localStorage
Initialize local storage of a super global and kill the super global version