1 | <?php |
||
5 | class Scripts |
||
6 | { |
||
7 | /* |
||
8 | * Stops propagation of Composer event if isn't on development environment |
||
9 | * |
||
10 | * This is useful to prevent running scripts for third-party packages |
||
11 | * without the need to intercept previous event scripts that should be run |
||
12 | * during non-development environments as well. |
||
13 | */ |
||
14 | public static function devOnly($event) |
||
20 | } |
||
21 |