public function ClientCredentials::__construct in Commerce PayPal 8
Constructs a new ClientCredentials object.
Parameters
\GuzzleHttp\ClientInterface $client: The client.
array $config: The configuration.
\Drupal\Core\State\StateInterface $state: The state service.
File
- src/
ClientCredentials.php, line 31
Class
- ClientCredentials
- Client credentials grant type.
Namespace
Drupal\commerce_paypalCode
public function __construct(ClientInterface $client, array $config, StateInterface $state) {
parent::__construct($client, $config);
$this->state = $state;
}