Sha256: 5fcbf99480cc28f6c16906b333388b8209b0712c9829a9fa2adbec62caa209dc

Contents?: true

Size: 1.97 KB

Versions: 42

Compression:

Stored size: 1.97 KB

Contents

<?php

/*
 * This file is part of Composer.
 *
 * (c) Nils Adermann <naderman@naderman.de>
 *     Jordi Boggiano <j.boggiano@seld.be>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Composer\Installer;

/**
 * Package Events.
 *
 * @author Jordi Boggiano <j.boggiano@seld.be>
 */
class PackageEvents
{
    /**
     * The PRE_PACKAGE_INSTALL event occurs before a package is installed.
     *
     * The event listener method receives a Composer\Installer\PackageEvent instance.
     *
     * @var string
     */
    const PRE_PACKAGE_INSTALL = 'pre-package-install';

    /**
     * The POST_PACKAGE_INSTALL event occurs after a package is installed.
     *
     * The event listener method receives a Composer\Installer\PackageEvent instance.
     *
     * @var string
     */
    const POST_PACKAGE_INSTALL = 'post-package-install';

    /**
     * The PRE_PACKAGE_UPDATE event occurs before a package is updated.
     *
     * The event listener method receives a Composer\Installer\PackageEvent instance.
     *
     * @var string
     */
    const PRE_PACKAGE_UPDATE = 'pre-package-update';

    /**
     * The POST_PACKAGE_UPDATE event occurs after a package is updated.
     *
     * The event listener method receives a Composer\Installer\PackageEvent instance.
     *
     * @var string
     */
    const POST_PACKAGE_UPDATE = 'post-package-update';

    /**
     * The PRE_PACKAGE_UNINSTALL event occurs before a package has been uninstalled.
     *
     * The event listener method receives a Composer\Installer\PackageEvent instance.
     *
     * @var string
     */
    const PRE_PACKAGE_UNINSTALL = 'pre-package-uninstall';

    /**
     * The POST_PACKAGE_UNINSTALL event occurs after a package has been uninstalled.
     *
     * The event listener method receives a Composer\Installer\PackageEvent instance.
     *
     * @var string
     */
    const POST_PACKAGE_UNINSTALL = 'post-package-uninstall';
}

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
dependabot-composer-0.119.0.beta1 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.113.19 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.112.1 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.111.57 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.111.56 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.111.52 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.111.50 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.111.25 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.111.17 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.111.15 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.110.13 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.108.11 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.108.8 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.107.47 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.107.39 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.107.36 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.107.28 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.107.14 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.106.12 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php
dependabot-composer-0.106.11 helpers/vendor/composer/composer/src/Composer/Installer/PackageEvents.php