You are here

public function DeploymentStorageHandlerInterface::getOrCreateNextDeploymentForEnvironment in Build Hooks 3.x

Same name and namespace in other branches
  1. 8.2 src/DeploymentStorageHandlerInterface.php \Drupal\build_hooks\DeploymentStorageHandlerInterface::getOrCreateNextDeploymentForEnvironment()

Gets the next deployment for an environment.

Parameters

\Drupal\build_hooks\Entity\FrontendEnvironmentInterface $environment: Environment.

Return value

\Drupal\build_hooks\Entity\DeploymentInterface Next deployment.

1 method overrides DeploymentStorageHandlerInterface::getOrCreateNextDeploymentForEnvironment()
DeploymentStorageHandler::getOrCreateNextDeploymentForEnvironment in src/DeploymentStorageHandler.php
Gets the next deployment for an environment.

File

src/DeploymentStorageHandlerInterface.php, line 23

Class

DeploymentStorageHandlerInterface
Defines an interface for deployment storage handler.

Namespace

Drupal\build_hooks

Code

public function getOrCreateNextDeploymentForEnvironment(FrontendEnvironmentInterface $environment) : DeploymentInterface;