src/classes/Slion/Run.php
public function add(string $name, string $root): self {
        $this->_current_extension            = $name;
        $this->_extensions[$name]['root']    = $root;
        return $this;
    }
public function add(string $name, string $root): self {
        $this->_current_extension            = $name;
        $this->_extensions[$name]['root']    = $root;
        return $this;
    }
public function add ( string $ name , string $ root ) : self { $ this -> _current_extension = $ name ; $ this -> _extensions [ $ name ] [ 'root' ] = $ root ; return $ this ; }
添加一个扩展
@param string $name
@param string $root
@return self
添加一个扩展