Core/Router/Router.php
public function getStatus(): array
    {
        return [
            'url' => $this->request_url,
            'route' => $this->getCurrentRoute(),
            'ajax' => $this->ajax,
            'method' => $_SERVER['REQUEST_METHOD'],
            'format' => $this->format,
            'match' => $this->match
        ];
    }
public function getStatus(): array
    {
        return [
            'url' => $this->request_url,
            'route' => $this->getCurrentRoute(),
            'ajax' => $this->ajax,
            'method' => $_SERVER['REQUEST_METHOD'],
            'format' => $this->format,
            'match' => $this->match
        ];
    }
public function getStatus ( ) : array { return [ 'url' => $ this -> request_url , 'route' => $ this -> getCurrentRoute ( ) , 'ajax' => $ this -> ajax , 'method' => $ _SERVER [ 'REQUEST_METHOD' ] , 'format' => $ this -> format , 'match' => $ this -> match ] ; }
Returns all request related data in one array

@return array
Returns all request related data in one array