コード例 #1
0
ファイル: Factory.php プロジェクト: kameshwariv/testexample
 /**
  * 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());
 }
コード例 #2
0
ファイル: Factory.php プロジェクト: dh-open/desk-php
 /**
  * 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());
 }