/** * Constructor. * * @param Package $package The updated package * @param string $repositoryPath The path to the cloned repository */ public function __construct(Package $package, $repositoryPath) { $this->repositoryPath = $repositoryPath; parent::__construct($package); }
/** * Constructor. * * @param Package $package The updated package * @param mixed $payload Any data received from the remote host */ public function __construct(Package $package, $payload) { $this->payload = $payload; parent::__construct($package); }