This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
Loading history...
29
"query"=>[
30
"~method"=>"post"
31
]
32
]);
33
return json_decode($response->getBody())->value;
34
}
35
public static function isSessionExist($credential){
public static function validateCredentials(VmwareApiClient $client)
39
{
40
if((array_key_exists("username",$client->credential) && array_key_exists("password",$client->credential)) or array_key_exists("Vmware-Api-Session-Id",$client->credential))
41
return true;
42
throw new CredentialException("required parameter you should send session-id or username-password for auth api ");
43
}
44
public static function convertCredentials($credentials){
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.