/** * @param Prompt $prompt The console prompt * @param FileSystem $fileSystem The file system * @param Composer $composer The Composer wrapper */ public function __construct(Prompt $prompt, FileSystem $fileSystem, Composer $composer) { parent::__construct(); $this->prompt = $prompt; $this->fileSystem = $fileSystem; $this->composer = $composer; }
/** * @param CommandCollection $commands The list of commands * @param PaddingFormatter $paddingFormatter The space padding formatter to use * @param string $applicationVersion The version number of the application */ public function __construct(CommandCollection &$commands, PaddingFormatter $paddingFormatter, $applicationVersion) { parent::__construct(); $this->setCommandCollection($commands); $this->paddingFormatter = $paddingFormatter; $this->applicationVersion = $applicationVersion; }
/** * @param FileSystem $fileSystem The filesystem to use to write to files * @param Prompt $prompt The prompt to confirm things with the user * @param Paths $paths The paths of the application */ public function __construct(FileSystem $fileSystem, Prompt $prompt, Paths $paths) { parent::__construct(); $this->fileSystem = $fileSystem; $this->prompt = $prompt; $this->paths = $paths; }
/** * @param Paths $paths The application paths * @param BootstrapperCache $bootstrapperCache The bootstrapper cache * @param RouteCache $routeCache The route cache * @param ViewCache $viewCache The view cache */ public function __construct(Paths $paths, BootstrapperCache $bootstrapperCache, RouteCache $routeCache, ViewCache $viewCache) { parent::__construct(); $this->paths = $paths; $this->bootstrapperCache = $bootstrapperCache; $this->routeCache = $routeCache; $this->viewCache = $viewCache; }
/** * @param ICache $viewCache The view cache */ public function __construct(ICache $viewCache) { parent::__construct(); $this->viewCache = $viewCache; }
/** * @param Executable $executable The Composer executable */ public function __construct(Executable $executable) { parent::__construct(); $this->executable = $executable; }
/** * @param string $applicationVersion The version number of the application */ public function __construct($applicationVersion) { parent::__construct(); $this->applicationVersion = $applicationVersion; }
/** * @param CommandFormatter $commandFormatter The formatter that converts a command object to text * @param PaddingFormatter $paddingFormatter The space padding formatter to use */ public function __construct(CommandFormatter $commandFormatter, PaddingFormatter $paddingFormatter) { parent::__construct(); $this->commandFormatter = $commandFormatter; $this->paddingFormatter = $paddingFormatter; }
/** * @param Strings $strings The string utility * @param Paths $paths The application paths */ public function __construct(Strings $strings, Paths $paths) { parent::__construct(); $this->strings = $strings; $this->paths = $paths; }
/** * @param Environment $environment The current environment */ public function __construct(Environment $environment) { parent::__construct(); $this->environment = $environment; }