class SandboxEvent

Base class for all events related to the life cycle of the stage.

Hierarchy

  • class \Drupal\package_manager\Event\SandboxEvent implements \Symfony\Contracts\EventDispatcher\Event

Expanded class hierarchy of SandboxEvent

8 files declare their use of SandboxEvent
DirectWriteTest.php in core/modules/package_manager/tests/src/Kernel/DirectWriteTest.php
EventLogSubscriber.php in core/modules/package_manager/tests/modules/package_manager_test_event_logger/src/EventSubscriber/EventLogSubscriber.php
SandboxEventException.php in core/modules/package_manager/src/Exception/SandboxEventException.php
SandboxManagerBase.php in core/modules/package_manager/src/SandboxManagerBase.php
SandboxManagerBaseTest.php in core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php

... See full list

File

core/modules/package_manager/src/Event/SandboxEvent.php, line 13

Namespace

Drupal\package_manager\Event
View source
abstract class SandboxEvent extends Event {
  
  /**
   * Constructs a StageEvent object.
   *
   * @param \Drupal\package_manager\SandboxManagerBase $sandboxManager
   *   The stage which fired this event.
   */
  public function __construct(public readonly SandboxManagerBase $sandboxManager) {
  }

}

Members

Title Sort descending Modifiers Object type Summary Overrides
SandboxEvent::__construct public function Constructs a StageEvent object. 4

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.