Get master database seeder name for the specified module.

@param string $name

@return string
977459
public function getSeederName($name)
    {
        $name = Str::studly($name);

        $namespace = $this->laravel['modules']->config('namespace');
        $seederPath = GenerateConfigReader::read('seeder');
        $seederPath = str_replace('/', '\\', $seederPath->getPath());

        return $namespace . '\\' . $name . '\\' . $seederPath . '\\' . $name . 'DatabaseSeeder';
    }
471514
protected function getModelName($name = null)
    {
        $name = str_singular($this->meta['table']);

        $model = '';
        $pieces = explode('_', $name);
        foreach ($pieces as $k => $str) {
            $model = $model . ucwords($str);
        }

        return $model;
    }
941660
protected function getMethodBySnakeCaseName($name)
    {
        $methods = $this->getSnakeCaseMethods();
        return isset($methods[$name]) ? $methods[$name] : '';
    }
653187
public function getModuleByName($name)
    {
        foreach ($this->modules as $module) {
            /* @var $module Module */
            if ($name == $module->getValue()->getName()) {
                return $module;
            }
        }

        return false;
    }
1078013
public static function getModuleInstanceByName($name)
    {
        $instance = self::getInstance();
        foreach ($instance->getModules() as $module) {
            if ($module->title === $name) {
                return $module;
            }
        }
        return null;
    }
1250694
public static function ModulePath($name)
    {
        // BC for a couple fo the key modules in the old syntax. Reduces merge brittleness but can
        // be removed before 4.0 stable
        $legacyMapping = [
            'framework' => 'silverstripe/framework',
            'frameworkadmin' => 'silverstripe/admin',
        ];
        if (isset($legacyMapping[$name])) {
            $name = $legacyMapping[$name];
        }

        return ModuleLoader::getModule($name)->getRelativePath();
    }
714856
protected function getMigrationFullName($name)
    {
        $folder = '';

        if (Config::organizeMigrations()) {
            $folder = $this->getTableName();
        }

        return $this->getMigrationPath($folder) . DIRECTORY_SEPARATOR . $name . '.php';
    }
724294
public function getModule($name)
    {
        // Optimised find
        if (isset($this->modules[$name])) {
            return $this->modules[$name];
        }

        // Fall back to lookup by shortname
        if (!strstr($name, '/')) {
            foreach ($this->modules as $module) {
                if (strcasecmp($module->getShortName(), $name) === 0) {
                    return $module;
                }
            }
        }

        return null;
    }
13028
protected function getBucketIdFromName($name)
    {
        $buckets = $this->listBuckets();

        foreach ($buckets as $bucket) {
            if ($bucket->getName() === $name) {
                return $bucket->getId();
            }
        }

        return null;
    }
354133
public function get($name)
    {
        if (!isset($this->modules[$name])) {
            throw new NoSuchModuleException(sprintf(
                'The module "%s" was not found.',
                $name
            ));
        }

        return $this->modules[$name];
    }
614346
public function getConnectionConfig(string $name = null) {

        // Lookup the connection config
        $config = $this->config->get($this->getConfigName().'.disk');

        // Add cache info the config
        if ($this->config->get($this->getConfigName().'.cache')) {
            $config['cache'] = $this->getCacheConfig();
        }

        // Use the driver as the name.
        $config['name'] = $config['driver'];

        // Return adapter config in the format GrahamCampbell/Flysystem expects
        return $config;
    }
1275644
public static function getRegisteredName(string $name): string
    {
        $key = strtolower($name);

        return isset(self::$headers[$key]) ? self::$headers[$key]['name'] : $name;
    }
221081
protected function prefixModule($name)
	{
		if (strpos($name, ':') === false)
		{
			$name = $this->getModuleName() .':'. $name;
		}
		return $name;
	}
801120
public function getSQLName($name)
    {
        $names = $this->getSQLNames();
        
        if (isset($names[$name]))
            return $names[$name];
        
        throw new NotFoundException('Cannot found real column name for ":name"', ['name' => $name]);
    }
137197
protected function get_namefor($name = '') {
        $name = $name !== '' ? '_' . $name : '';
        return $this->plugintype . '_' . $this->pluginname . $name;
    }
98603
protected function nestName($name)
    {
        // Obtain Bracket Position:
        
        $bpos = strpos($name, '[');
        
        // Has Bracket?
        
        if ($bpos !== false) {
            
            // Answer Bracketed Name:
            
            return sprintf('%s[%s]%s', self::FIELD_WRAPPER, substr($name, 0, $bpos), substr($name, $bpos));
            
        } else {
            
            // Answer Regular Name:
            
            return sprintf('%s[%s]', self::FIELD_WRAPPER, $name);
            
        }
    }
1169954
protected function get_namefor($name = '') {
        $name = $name !== '' ? '_' . $name : '';
        return $this->subplugintype . '_' . $this->subpluginname . $name;
    }