protected function getStubContent($name)
    {
        if (!isset(static::$stubs[$name])) {
            if (!is_file($path = base_path("resources/stubs/vendor/models-generator/$name.stub"))) {
                $path = __DIR__."/../../resources/stubs/$name.stub";
            }

            static::$stubs[$name] = file_get_contents($path);
        }

        return static::$stubs[$name];
    }