protected function getDestenationFile($name, $path)
    {
        if (!empty($path)) {
            $path = Helpers::getPathWithSlash(ucfirst($path));
        }

        return app_path(Config::getModelsPath($path . $name . '.php'));
    }
protected function getDestenationFile($name, $path)
    {
        if (!empty($path)) {
            $path = Helpers::getPathWithSlash(ucfirst($path));
        }

        return app_path(Config::getModelsPath($path . $name . '.php'));
    }
protected function getDestenationFile ( $ name , $ path ) { if ( ! empty ( $ path ) ) { $ path = Helpers :: getPathWithSlash ( ucfirst ( $ path ) ) ; } return app_path ( Config :: getModelsPath ( $ path . $ name . '.php' ) ) ; }
Gets the destenation file to be created.

@param string $name
@param string $path

@return string
Gets the destenation file to be created .