public static function pageGetArray(?string $page = null): array
    {
        if ($page === null) {
            $page = $_SERVER['PHP_SELF'];
        }
        return self::getArray($page);
    }
public static function pageGetArray(?string $page = null): array
    {
        if ($page === null) {
            $page = $_SERVER['PHP_SELF'];
        }
        return self::getArray($page);
    }
public static function pageGetArray ( ? string $ page = null ) : array { if ( $ page === null ) { $ page = $ _SERVER [ 'PHP_SELF' ] ; } return self :: getArray ( $ page ) ; }
Get session array by page filename.

@param string $page Default null which means current page PHP_SELF.
@return mixed[]
Get session array by page filename .