public function setStoragePath($path) {
        FSService::makeWritable($path);
        $this->_storagePath    = $path;
        $this->_structuresPath = $this->_storagePath . 'structure/';
        $this->_modelsPath     = $this->_storagePath . 'classes/';
        FSService::makeWritable($this->_structuresPath);
        FSService::makeWritable($this->_modelsPath);
        $this->loadStructureFiles($this->_structuresPath);
        return $this;
    }
public function setStoragePath($path) {
        FSService::makeWritable($path);
        $this->_storagePath    = $path;
        $this->_structuresPath = $this->_storagePath . 'structure/';
        $this->_modelsPath     = $this->_storagePath . 'classes/';
        FSService::makeWritable($this->_structuresPath);
        FSService::makeWritable($this->_modelsPath);
        $this->loadStructureFiles($this->_structuresPath);
        return $this;
    }
public function setStoragePath ( $ path ) { FSService :: makeWritable ( $ path ) ; $ this -> _storagePath = $ path ; $ this -> _structuresPath = $ this -> _storagePath . 'structure/' ; $ this -> _modelsPath = $ this -> _storagePath . 'classes/' ; FSService :: makeWritable ( $ this -> _structuresPath ) ; FSService :: makeWritable ( $ this -> _modelsPath ) ; $ this -> loadStructureFiles ( $ this -> _structuresPath ) ; return $ this ; }
Change store path
@param $path
@return $this
Change store path