__construct() public method

LlumCommand constructor.
public __construct ( )
Esempio n. 1
0
 /**
  * InitCommand constructor.
  *
  * @param Filesystem $filesytem
  * @param RCFileCompiler $compiler
  * @param GithubAPI $api
  */
 public function __construct(Filesystem $filesytem, RCFileCompiler $compiler, GithubAPI $api)
 {
     parent::__construct();
     $this->filesytem = $filesytem;
     $this->compiler = $compiler;
     $this->api = $api;
 }
Esempio n. 2
0
 /**
  * GithubRepoCommand constructor.
  * @param GithubAPI $api
  * @param LlumRCParser $parser
  */
 public function __construct(GithubAPI $api, LlumRCParser $parser)
 {
     parent::__construct();
     $this->api = $api;
     $this->parser = $parser;
 }
Esempio n. 3
0
 /**
  * GithubInitCommand constructor.
  *
  * @param LlumRCParser $parser
  */
 public function __construct(LlumRCParser $parser)
 {
     parent::__construct();
     $this->parser = $parser;
 }