Diglin\Ricardo\Api::connect
Connect to the Ricardo API depending of the service and method to be used
Signature
public function connect(string
$service,
string
$method,
array
$params )
Parameters
$service
—
string
- Ricardo API Service
$method
—
string
- Ricardo API Method
$params
—
array
- API Parameters
Returns
- mixed
- $result
Errors/Exceptions
-
Exception
Defined by Interface
ApiInterface
Violations
PHPMessDetector
Line |
Rule |
Message |
85 - 148 |
CyclomaticComplexity
|
The method connect() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |