Defines the name of the module.

@param string $name

@return void
323960
public function name(string $name)
    {
        $this->name = $name;

        $this->eventDispatcher->emit(
            $this->packageName . '.' . $this->name . '.define', $this
        );
    }
45688
protected function loadGroup(string $name): void
    {
        $file = $this->container->get('config_dir').'/'.$name.'.php';
        $data = \is_file($file) ? include($file) : [];
        $this->container['config_'.$name] = $data;
    }
1156440
public function setName($name = null)
    {
        if ($name) {
            if (is_object($name) && get_class($name) == 'HumanNameParser_Name') { // this is mostly for testing
                $this->name = $name;
            } else {
                $this->name = new Name($name);
            }

            $this->leadingInit = '';
            $this->first = '';
            $this->nicknames = '';
            $this->middle = '';
            $this->last = '';
            $this->suffix = '';

            $this->suffixes = ['esq', 'esquire', 'jr', 'sr', '2', 'ii', 'iii', 'iv'];
            $this->prefixes = [
                'bar', 'ben', 'bin', 'da', 'dal', 'de la', 'de', 'del', 'der', 'di',
                'ibn', 'la', 'le', 'san', 'st', 'ste', 'van', 'van der', 'van den', 'vel', 'von',
            ];

            $this->parse();
        }
    }
1213750
protected function configure($name)
    {
        $path = $this->app->basePath("config/{$name}.php");

        if (!is_readable($path)) {
            $path = dirname(__DIR__) . "/config/{$name}.php";
        }

        $this->app->make('config')->set($name, require $path);
    }
931256
public function setName($name)
    {
        if (null !== $name) {
            $this->name = (string) $name;
        } else {
            $this->name = $name;
        }

        return $this;
    }
659281
public function setName($name)
    {
        $nameParts = explode(' ', $name);
        $this->Surname = array_pop($nameParts);
        $this->FirstName = join(' ', $nameParts);
    }
1361850
protected function createRoutes(string $name): void
    {
        $apiFile = base_path($this->moduleName().'/'.$name.'/Routes/api.php');
        if (! $this->files->exists($apiFile)) {
            $this->files->put($apiFile, $this->files->get(__DIR__.'/stubs/routes/api.stub'));
        }

        $webFile = base_path($this->moduleName().'/'.$name.'/Routes/web.php');
        if (! $this->files->exists($webFile)) {
            $this->files->put($webFile, $this->files->get(__DIR__.'/stubs/routes/web.stub'));
        }
    }
221081
protected function prefixModule($name)
	{
		if (strpos($name, ':') === false)
		{
			$name = $this->getModuleName() .':'. $name;
		}
		return $name;
	}
497700
public function setName($name) {
        $this->name = $name;
        $arg = pathinfo($name, PATHINFO_EXTENSION);
        if (!empty($arg)) {
            $this->extension = $arg;
        }
        return $this;
    }
256923
public function set_name($name) {
        if ($this->state < self::STATE_BUILDING_DYNAMIC) {
            $this->update_user_visible();
        }
        $this->name = $name;
    }
1373267
public function hasModule($name)
	{
	    $name = $this->parseModuleAlias($name);
	    
	    return isset($this->_modules) && in_array($name, $this->_modules);
	}
1002811
public function configure($name)
    {
        if (isset($this->loadedConfigurations[$name])) {
            return;
        }

        $this->loadedConfigurations[$name] = true;

        $path = $this->getConfigurationPath($name);

        if (! \is_null($path)) {
            $this->make('config')->set(Arr::dot([
                $name => require $path,
            ]));
        }
    }
498363
protected function setTagItem(string $name): void
    {
        if (!empty($this->tag)) {
            foreach ($this->tag as $tag) {
                $tagName = $this->getTagKey($tag);
                $this->handler->sAdd($tagName, $name);
            }

            $this->tag = null;
        }
    }
1105762
public function name(string $name, $parser): void
    {
        if (\is_string($parser) && (\class_exists($parser, false) || $this->app->bound($parser))) {
            $parser = $this->app->make($parser);
        }

        $this->parsers[$name] = $parser;
    }
507512
public function referenceBegin($name): void
    {
        $this->client->sendBuffer .= $this->client->preparedToSendBuffer;
        $this->client->preparedToSendBuffer = null;
        $signature = sprintf('<H p="1" v="%s">', $name);
        $this->write($signature);
        $signature[6] = '2';
        $this->client->currentArgumentsFormat = $signature;
    }
281485
public function setName($name)
    {
        if ($this->getMultiValue() === true) {
            $name .= $this->getMultiValueSuffix();
        }

        return parent::setName($name);
    }
234605
public function section($name)
    {
        if (isset($this->sections[$name])) {
            $section = $this->sections[$name];
            unset($this->sections[$name]);
        } else {
            $section = new Section($name);
        }

        $this->sections[$name] = $section;

        $section->start();
    }