Microweber\Utils\ComposerUpdate::__construct PHP Method

__construct() public method

public __construct ( $composer_path = false )
    public function __construct($composer_path = false)
    {
        if ($composer_path == false) {
            $composer_path = normalize_path(base_path() . '/', false);
        }
        $this->composer_home = $composer_path;
        putenv('COMPOSER_HOME=' . $composer_path);
    }