cwmiller / broadworks-connector

Simple library for connecting to BroadWorks OCI-P API
MIT License
8 stars 5 forks source link

example question #9

Closed TwinMist closed 6 years ago

TwinMist commented 6 years ago

Hi is your example on the front page correct?

try { $response = $ocip->userGetListInGroupRequest($request1);

should this be try { $response = $ocip->call($request1);

as errors on your example Uncaught Error: Call to undefined method CWM\BroadWorksConnector\OcipClient::UserGetListInGroupRequest() , but with call it returns the users with the group thanks

cwmiller commented 6 years ago

The example is written for version 2. In v2, call is still available, but there's also helper methods for all the request types. These are intended to help when using an IDE that supports phpdoc, because the helper methods have @return annotations for each request type.