public function __construct($name, $commandName, $input, $output) { parent::__construct($name); $this->commandName = $commandName; $this->input = $input; $this->output = $output; }
/** * Constructor. * * @param string $name The event name * @param Composer $composer The composer object * @param IOInterface $io The IOInterface object * @param boolean $devMode Whether or not we are in dev mode * @param array $events Arguments passed by the user */ public function __construct($name, Composer $composer, IOInterface $io, $devMode = false, array $args = array()) { parent::__construct($name, $args); $this->composer = $composer; $this->io = $io; $this->devMode = $devMode; }
/** * Constructs a PatchEvent object. * * @param string $eventName * @param PackageInterface $package * @param string $url * @param string $description */ public function __construct($eventName, PackageInterface $package, $url, $description) { parent::__construct($eventName); $this->package = $package; $this->url = $url; $this->description = $description; }
/** * Constructor. * * @param string $name The event name * @param string $commandName The command name * @param InputInterface $input * @param OutputInterface $output * @param array $events Arguments passed by the user */ public function __construct($name, $commandName, $input, $output, array $args = array()) { parent::__construct($name, $args); $this->commandName = $commandName; $this->input = $input; $this->output = $output; }
/** * Constructor. * * @param string $eventName * @param Composer $composer * @param IOInterface $io * @param PolicyInterface $policy * @param Pool $pool * @param CompositeRepository $installedRepo * @param Request $request * @param OperationInterface[] $operations */ public function __construct($eventName, Composer $composer, IOInterface $io, PolicyInterface $policy, Pool $pool, CompositeRepository $installedRepo, Request $request, array $operations = array()) { parent::__construct($eventName); $this->composer = $composer; $this->io = $io; $this->policy = $policy; $this->pool = $pool; $this->installedRepo = $installedRepo; $this->request = $request; $this->operations = $operations; }
/** * @param string $name * @param InstalledPackage $package */ public function __construct($name, InstalledPackage $package) { parent::__construct($name); $this->package = $package; }
public function __construct($name, RemoteFilesystem $rfs, $processedUrl) { parent::__construct($name); $this->rfs = $rfs; $this->processedUrl = $processedUrl; }
/** * @param string $name * @param Entry $deployEntry */ public function __construct($name, Entry $deployEntry) { parent::__construct($name); $this->deployEntry = $deployEntry; }
/** * Constructor. * * @param string $name The event name * @param array $repos The list of vcs repositories config */ public function __construct($name, array $repos) { parent::__construct($name); $this->repositories = $repos; }
/** * @param string $name * @param PackageInterface $package */ public function __construct($name, PackageInterface $package) { parent::__construct($name); $this->package = $package; }