Add repository notification API support
parent
595182aec0
commit
b094ef7155
@ -0,0 +1,28 @@
|
||||
<?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\Repository;
|
||||
|
||||
use Composer\Package\PackageInterface;
|
||||
|
||||
/**
|
||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
||||
*/
|
||||
interface NotifiableRepositoryInterface extends RepositoryInterface
|
||||
{
|
||||
/**
|
||||
* Notify this repository about the installation of a package
|
||||
*
|
||||
* @param PackageInterface $package Package that is installed
|
||||
*/
|
||||
function notifyInstall(PackageInterface $package);
|
||||
}
|
Loading…
Reference in New Issue