/** * 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()); }
/** * 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()); }