Acacha\Llum\Console\LlumCommand::__construct PHP Method

__construct() public method

LlumCommand constructor.
public __construct ( )
    public function __construct()
    {
        parent::__construct();
        $this->configPath = __DIR__ . '/../config/';
        $this->laravel_config_file = getcwd() . '/config/app.php';
        $this->laravel_services_file = getcwd() . '/config/services.php';
        $this->config = $this->obtainConfig();
    }

Usage Example

Example #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;
 }
All Usage Examples Of Acacha\Llum\Console\LlumCommand::__construct