private function checkRequestCount($array, $action, $maxReq = self::MAX_DHL_REQUESTS) {
		$count = count($array);

		if($count > self::MAX_DHL_REQUESTS)
			$this->addError('There are only ' . $maxReq . ' Request/s for one call allowed for the action "'
				. $action . '"! You tried to request ' . $count . ' ones');
	}
private function checkRequestCount($array, $action, $maxReq = self::MAX_DHL_REQUESTS) {
		$count = count($array);

		if($count > self::MAX_DHL_REQUESTS)
			$this->addError('There are only ' . $maxReq . ' Request/s for one call allowed for the action "'
				. $action . '"! You tried to request ' . $count . ' ones');
	}
private function checkRequestCount ( $ array , $ action , $ maxReq = self :: MAX_DHL_REQUESTS ) { $ count = count ( $ array ) ; if ( $ count > self :: MAX_DHL_REQUESTS ) $ this -> addError ( 'There are only ' . $ maxReq . ' Request/s for one call allowed for the action "' . $ action . '"! You tried to request ' . $ count . ' ones' ) ; }
Check if the request-Array is to long

@param array $array - Array to check
@param string $action - Action of the request
@param int $maxReq - Maximum-Requests - Default: self::MAX_DHL_REQUESTS
Check if the request - Array is to long