You are here

public function PreCommitEvent::getStageComposer in Automatic Updates 8.2

Returns a Composer utility object for the stage directory.

Return value

\Drupal\package_manager\ComposerUtility The Composer utility object for the stage directory.

File

src/Event/PreCommitEvent.php, line 40

Class

PreCommitEvent
Event fired before staged changes are copied into the active site.

Namespace

Drupal\automatic_updates\Event

Code

public function getStageComposer() : ComposerUtility {
  return $this->stageComposer;
}