Todaymade\Daux\Daux::__construct PHP Метод

__construct() публичный Метод

public __construct ( string $mode )
$mode string
    public function __construct($mode)
    {
        $this->mode = $mode;
        $this->local_base = $this->internal_base = dirname(__DIR__);
        // In case we're inside the phar archive
        // we save the path to the directory
        // in which it is contained
        if (defined('PHAR_DIR')) {
            $this->local_base = PHAR_DIR;
        }
        // global.json
        $this->loadBaseConfiguration();
    }