src/Scaffold/ControllerCreator.php
public function getPath($name)
    {
        $segments = explode('\\', $name);

        array_shift($segments);

        return app_path(implode('/', $segments)).'.php';
    }
public function getPath($name)
    {
        $segments = explode('\\', $name);

        array_shift($segments);

        return app_path(implode('/', $segments)).'.php';
    }
public function getPath ( $ name ) { $ segments = explode ( '\\' , $ name ) ; array_shift ( $ segments ) ; return app_path ( implode ( '/' , $ segments ) ) . '.php' ; }
Get file path from giving controller name.

@param $name

@return string
Get file path from giving controller name .