You are here

public function NetlifyManagerInterface::retrieveLatestBuildsFromNetlifyForEnvironment in Build Hooks 8.2

Same name and namespace in other branches
  1. 3.x modules/build_hooks_netlify/src/NetlifyManagerInterface.php \Drupal\build_hooks_netlify\NetlifyManagerInterface::retrieveLatestBuildsFromNetlifyForEnvironment()

Get the latest builds from netlify for and environment.

Parameters

array $settings: The plugin settings array.

int $limit: Number of desired builds to retrieve.

Return value

array An array with info about the builds.

Throws

\GuzzleHttp\Exception\GuzzleException

1 method overrides NetlifyManagerInterface::retrieveLatestBuildsFromNetlifyForEnvironment()
NetlifyManager::retrieveLatestBuildsFromNetlifyForEnvironment in modules/build_hooks_netlify/src/NetlifyManager.php
Get the latest builds from netlify for and environment.

File

modules/build_hooks_netlify/src/NetlifyManagerInterface.php, line 34

Class

NetlifyManagerInterface
NetlifyManager interface.

Namespace

Drupal\build_hooks_netlify

Code

public function retrieveLatestBuildsFromNetlifyForEnvironment(array $settings, $limit = 1);