protected function adjustPageArgumentToPositiveInteger(array $arguments)
    {
        $page = isset($arguments['page']) ? intval($arguments['page']) : 0;
        $arguments['page'] = max($page, 0);

        return $arguments;
    }
protected function adjustPageArgumentToPositiveInteger(array $arguments)
    {
        $page = isset($arguments['page']) ? intval($arguments['page']) : 0;
        $arguments['page'] = max($page, 0);

        return $arguments;
    }
protected function adjustPageArgumentToPositiveInteger ( array $ arguments ) { $ page = isset ( $ arguments [ 'page' ] ) ? intval ( $ arguments [ 'page' ] ) : 0 ; $ arguments [ 'page' ] = max ( $ page , 0 ) ; return $ arguments ; }
This methods sets the page argument to an expected positive integer value in the arguments array.

@param array $arguments
@return array
This methods sets the page argument to an expected positive integer value in the arguments array .