src/HTTP/Session.php
public function readArray($index) {
        return isset ($_SESSION [$index]) && is_array($_SESSION [$index]) ? $_SESSION [$index] : [];
    }
public function readArray($index) {
        return isset ($_SESSION [$index]) && is_array($_SESSION [$index]) ? $_SESSION [$index] : [];
    }
public function readArray ( $ index ) { return isset ( $ _SESSION [ $ index ] ) && is_array ( $ _SESSION [ $ index ] ) ? $ _SESSION [ $ index ] : [ ] ; }
reads an array from the session

@param $index
@return array
reads an array from the session