public function removeFromFileSysem($module)
    {
        if ($this->isCoreModule($module)) {
            throw new LogicException(sprintf(
                'Trying to remove core module "%s". This is not allowed by design', $module
            ));
        }

        $path = sprintf('%s/%s', $this->appConfig->getModulesDir(), $module);
        return $this->performRemoval($path);
    }
public function removeFromFileSysem($module)
    {
        if ($this->isCoreModule($module)) {
            throw new LogicException(sprintf(
                'Trying to remove core module "%s". This is not allowed by design', $module
            ));
        }

        $path = sprintf('%s/%s', $this->appConfig->getModulesDir(), $module);
        return $this->performRemoval($path);
    }
public function removeFromFileSysem ( $ module ) { if ( $ this -> isCoreModule ( $ module ) ) { throw new LogicException ( sprintf ( 'Trying to remove core module "%s". This is not allowed by design' , $ module ) ) ; } $ path = sprintf ( '%s/%s' , $ this -> appConfig -> getModulesDir ( ) , $ module ) ; return $ this -> performRemoval ( $ path ) ; }
Removes a module from file system

@param string $module Module name (as in the folder)
@throws \LogicException If trying to remove core module
@return boolean Depending on success
Removes a module from file system