Example #1
0
 /**
  * Adds a relationship plugin to the client
  *
  * @param Desk\Client $client The client to add the Plugin to
  */
 public function addRelationshipPlugin(Client &$client)
 {
     $client->addSubscriber(new RelationshipPlugin());
 }
Example #2
0
 /**
  * Adds the rate-limiting plugin to the client
  *
  * @param \Desk\Client $client The client to add the Plugin to
  */
 public function addRateLimitPlugin(Client &$client)
 {
     $client->addSubscriber(new DeskRateLimitPlugin());
 }