for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace MagentoHackathon\Composer\Magento\Event;
use Composer\EventDispatcher\Event;
use Composer\Package\PackageInterface;
use MagentoHackathon\Composer\Magento\Deploy\Manager\Entry;
/**
* Class PackageDeployEvent
* @package MagentoHackathon\Composer\Magento\Event
* @author Aydin Hassan <[email protected]>
*/
class PackagePreInstallEvent extends Event
{
* @var PackageInterface
protected $package;
* @param string $name
* @param PackageInterface $package
public function __construct($name, PackageInterface $package)
parent::__construct($name);
$this->package = $package;
}
* @return PackageInterface
public function getPackage()
return $this->package;