Core/Router/Router.php
public function getParam(string $param)
    {
        if (! empty($this->match['params'][$param])) {
            return $this->match['params'][$param];
        }
    }
public function getParam(string $param)
    {
        if (! empty($this->match['params'][$param])) {
            return $this->match['params'][$param];
        }
    }
public function getParam ( string $ param ) { if ( ! empty ( $ this -> match [ 'params' ] [ $ param ] ) ) { return $ this -> match [ 'params' ] [ $ param ] ; } }
Returns a parameter value

@param string $param
Name of param to return value of

@return mixed
Returns a parameter value