ManaPHP\Mvc\Dispatcher::getParam PHP Метод

getParam() публичный Метод

Gets a param by its name or numeric index
public getParam ( string | integer $param, string | array $filters = null, mixed $defaultValue = null ) : mixed
$param string | integer
$filters string | array
$defaultValue mixed
Результат mixed
    public function getParam($param, $filters = null, $defaultValue = null)
    {
        if (!isset($this->_params[$param])) {
            return $defaultValue;
        }
        if ($filters === null) {
            return $this->_params[$param];
        }
        return null;
    }