src/Tool/RequiredParameterTrait.php
private function checkRequiredParameters(array $names, array $params)
    {
        foreach ($names as $name) {
            $this->checkRequiredParameter($name, $params);
        }
    }
private function checkRequiredParameters(array $names, array $params)
    {
        foreach ($names as $name) {
            $this->checkRequiredParameter($name, $params);
        }
    }
private function checkRequiredParameters ( array $ names , array $ params ) { foreach ( $ names as $ name ) { $ this -> checkRequiredParameter ( $ name , $ params ) ; } }
Checks for multiple required parameters in a hash.

@throws InvalidArgumentException
@param  array $names
@param  array $params
@return void
Checks for multiple required parameters in a hash .