src/Commands/Create.php
public function transformFilename($path)
    {
        $pathTransformed = str_replace('object', strtolower(Str::singular($this->module)), $path);
        $pathTransformed = str_replace('Object', Str::singular($this->module), $pathTransformed);

        return $pathTransformed;
    }
public function transformFilename($path)
    {
        $pathTransformed = str_replace('object', strtolower(Str::singular($this->module)), $path);
        $pathTransformed = str_replace('Object', Str::singular($this->module), $pathTransformed);

        return $pathTransformed;
    }
public function transformFilename ( $ path ) { $ pathTransformed = str_replace ( 'object' , strtolower ( Str :: singular ( $ this -> module ) ) , $ path ) ; $ pathTransformed = str_replace ( 'Object' , Str :: singular ( $ this -> module ) , $ pathTransformed ) ; return $ pathTransformed ; }
Rename file in path.

@param string $path

@return string
Rename file in path .