You are here

public function ContentHubClientMock::getClients in Acquia Content Hub 8.2

File

tests/modules/acquia_contenthub_server_test/src/Client/ContentHubClientMock.php, line 272

Class

ContentHubClientMock
Mocks server responses.

Namespace

Drupal\acquia_contenthub_server_test\Client

Code

public function getClients() {
  $this->options = $this
    ->getSettings()
    ->toArray();
  return [
    [
      'name' => $this->options['name'],
      'uuid' => $this->options['uuid'],
    ],
  ];
}