src/Prettus/Repository/Generators/Generator.php
public function getName()
    {
        $name = $this->name;
        if (str_contains($this->name, '\\')) {
            $name = str_replace('\\', '/', $this->name);
        }
        if (str_contains($this->name, '/')) {
            $name = str_replace('/', '/', $this->name);
        }

        return Str::studly(str_replace(' ', '/', ucwords(str_replace('/', ' ', $name))));
    }
public function getName()
    {
        $name = $this->name;
        if (str_contains($this->name, '\\')) {
            $name = str_replace('\\', '/', $this->name);
        }
        if (str_contains($this->name, '/')) {
            $name = str_replace('/', '/', $this->name);
        }

        return Str::studly(str_replace(' ', '/', ucwords(str_replace('/', ' ', $name))));
    }
public function getName ( ) { $ name = $ this -> name ; if ( str_contains ( $ this -> name , '\\' ) ) { $ name = str_replace ( '\\' , '/' , $ this -> name ) ; } if ( str_contains ( $ this -> name , '/' ) ) { $ name = str_replace ( '/' , '/' , $ this -> name ) ; } return Str :: studly ( str_replace ( ' ' , '/' , ucwords ( str_replace ( '/' , ' ' , $ name ) ) ) ) ; }
Get name input.

@return string
Get name input .