src/Commands/GenerateDocumentationCommand.php
protected function generateIndexContent($stub)
    {
        $content = str_replace(
            '{{LANDING}}',
            ucwords(config('larecipe.docs.landing')),
            $stub
        );

        $content = str_replace(
            '{{ROOT}}',
            config('larecipe.docs.route'),
            $content
        );

        $content = str_replace(
            '{{LANDINGSMALL}}',
            trim(config('larecipe.docs.landing'), '/'),
            $content
        );

        return $content;
    }
protected function generateIndexContent($stub)
    {
        $content = str_replace(
            '{{LANDING}}',
            ucwords(config('larecipe.docs.landing')),
            $stub
        );

        $content = str_replace(
            '{{ROOT}}',
            config('larecipe.docs.route'),
            $content
        );

        $content = str_replace(
            '{{LANDINGSMALL}}',
            trim(config('larecipe.docs.landing'), '/'),
            $content
        );

        return $content;
    }
protected function generateIndexContent ( $ stub ) { $ content = str_replace ( '{{LANDING}}' , ucwords ( config ( 'larecipe.docs.landing' ) ) , $ stub ) ; $ content = str_replace ( '{{ROOT}}' , config ( 'larecipe.docs.route' ) , $ content ) ; $ content = str_replace ( '{{LANDINGSMALL}}' , trim ( config ( 'larecipe.docs.landing' ) , '/' ) , $ content ) ; return $ content ; }
replace stub placeholders.

@return string
replace stub placeholders .