protected function getMethodParam($index)
    {
        if (isset($this->methodParams[$index]) && ($value = intval($this->methodParams[$index])) > 0) {
            return $value;
        }

        return null;
    }
protected function getMethodParam($index)
    {
        if (isset($this->methodParams[$index]) && ($value = intval($this->methodParams[$index])) > 0) {
            return $value;
        }

        return null;
    }
protected function getMethodParam ( $ index ) { if ( isset ( $ this -> methodParams [ $ index ] ) && ( $ value = intval ( $ this -> methodParams [ $ index ] ) ) > 0 ) { return $ value ; } return null ; }
Gets method's parameter for a given index.

@return mix (int|null)
Gets method s parameter for a given index .