private function handleUndefinedParameters()
    {
        $leftover = count($this->rawParams);

        if (0 < $leftover) {
            if (1 == $leftover) {
                $msg = 'The parameter \'%s\' is not valid';
            } else {
                $msg = 'The parameters \'%s\' are not valid';
            }

            throw new \Exception(sprintf($msg, implode('\', \'', array_keys($this->rawParams))));
        }
    }
private function handleUndefinedParameters()
    {
        $leftover = count($this->rawParams);

        if (0 < $leftover) {
            if (1 == $leftover) {
                $msg = 'The parameter \'%s\' is not valid';
            } else {
                $msg = 'The parameters \'%s\' are not valid';
            }

            throw new \Exception(sprintf($msg, implode('\', \'', array_keys($this->rawParams))));
        }
    }
private function handleUndefinedParameters ( ) { $ leftover = count ( $ this -> rawParams ) ; if ( 0 < $ leftover ) { if ( 1 == $ leftover ) { $ msg = 'The parameter \'%s\' is not valid' ; } else { $ msg = 'The parameters \'%s\' are not valid' ; } throw new \ Exception ( sprintf ( $ msg , implode ( '\', \'' , array_keys ( $ this -> rawParams ) ) ) ) ; } }
Throw an exception if a parameter that is not in the definition was
passed in the parameter array

@access private
@throw Exception

@return void
Throw an exception if a parameter that is not in the definition was passed in the parameter array