summaryrefslogtreecommitdiffstats
path: root/vendor/cweagans/composer-patches/src/PatchEvents.php
blob: ecee947682e448eb8086a3261de778ddd31ac2ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?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';

}