public function name(string $name)
    {
        $this->name = $name;

        $this->eventDispatcher->emit(
            $this->packageName . '.' . $this->name . '.define', $this
        );
    }
public function name(string $name)
    {
        $this->name = $name;

        $this->eventDispatcher->emit(
            $this->packageName . '.' . $this->name . '.define', $this
        );
    }
public function name ( string $ name ) { $ this -> name = $ name ; $ this -> eventDispatcher -> emit ( $ this -> packageName . '.' . $ this -> name . '.define' , $ this ) ; }
Defines the name of the module.

@param string $name

@return void
Defines the name of the module .