name : PatchEvents.php
<?php

/**
 * @file
 * Dispatch events when patches are applied.
 */

namespace cweagans\Composer;

class PatchEvents {

  /**
   * The PRE_PATCH_APPLY event occurs before a patch is applied.
   *
   * The event listener method receives a cweagans\Composer\PatchEvent instance.
   *
   * @var string
   */
  const PRE_PATCH_APPLY = 'pre-patch-apply';

  /**
   * The POST_PATCH_APPLY event occurs after a patch is applied.
   *
   * The event listener method receives a cweagans\Composer\PatchEvent instance.
   *
   * @var string
   */
  const POST_PATCH_APPLY = 'post-patch-apply';

}

© 2025 Cubjrnet7