-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathFoxyEvents.php
43 lines (38 loc) · 1.06 KB
/
FoxyEvents.php
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
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/*
* This file is part of the Foxy package.
*
* (c) François Pluchino <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Foxy;
/**
* Events of Foxy.
*
* @author François Pluchino <[email protected]>
*/
abstract class FoxyEvents
{
/**
* The "PRE_SOLVE" event is triggered before the `solve` action of asset packages.
*
* @Event("Foxy\Event\PreSolveEvent")
*/
const PRE_SOLVE = 'foxy.pre-solve';
/**
* The "GET_ASSETS" event is triggered before the `solve` action of asset packages
* and during the retrieves the map of the asset packages.
*
* @Event("Foxy\Event\GetAssetsEvent")
*/
const GET_ASSETS = 'foxy.get-assets';
/**
* The "POST_SOLVE" event is triggered after the `solve` action of asset packages and before
* the execution of the composer's fallback.
*
* @Event("Foxy\Event\PostSolveEvent")
*/
const POST_SOLVE = 'foxy.post-solve';
}