You are here

public function VclHandler::getAllDictionaries in Fastly 8.3

Get all dictionaries.

Return value

mixed

File

src/VclHandler.php, line 1344

Class

VclHandler
Class to control the VCL handling.

Namespace

Drupal\fastly

Code

public function getAllDictionaries() {
  $url = '/service/' . $this->serviceId . '/version/' . $this
    ->getLastVersion()->number . '/dictionary';
  $response = $this
    ->vclRequestWrapper($url, [], [], 'GET');
  return Json::decode($response
    ->getBody());
}