public function articleContent()
    {
        $content = $this->getHtmlTemplate();

        $search = [
            '{{ title }}',
            '{{ paragraph }}',
            '{{ paragraphs }}',
            '{{ words }}',
            '{{ image }}',
            '{{ sentence }}',
        ];

        $replace = [
            self::articleTitle(),
            $this->generator->paragraph(),
            nl2br($this->generator->paragraphs(rand(5, 10), true)),
            $this->generator->sentence(rand(3, 5)),
            $this->generator->imageUrl(),
            $this->generator->sentence(),
        ];

        $content = str_replace($search, $replace, $content);

        return $content;
    }
public function articleContent()
    {
        $content = $this->getHtmlTemplate();

        $search = [
            '{{ title }}',
            '{{ paragraph }}',
            '{{ paragraphs }}',
            '{{ words }}',
            '{{ image }}',
            '{{ sentence }}',
        ];

        $replace = [
            self::articleTitle(),
            $this->generator->paragraph(),
            nl2br($this->generator->paragraphs(rand(5, 10), true)),
            $this->generator->sentence(rand(3, 5)),
            $this->generator->imageUrl(),
            $this->generator->sentence(),
        ];

        $content = str_replace($search, $replace, $content);

        return $content;
    }
public function articleContent ( ) { $ content = $ this -> getHtmlTemplate ( ) ; $ search = [ '{{ title }}' , '{{ paragraph }}' , '{{ paragraphs }}' , '{{ words }}' , '{{ image }}' , '{{ sentence }}' , ] ; $ replace = [ self :: articleTitle ( ) , $ this -> generator -> paragraph ( ) , nl2br ( $ this -> generator -> paragraphs ( rand ( 5 , 10 ) , true ) ) , $ this -> generator -> sentence ( rand ( 3 , 5 ) ) , $ this -> generator -> imageUrl ( ) , $ this -> generator -> sentence ( ) , ] ; $ content = str_replace ( $ search , $ replace , $ content ) ; return $ content ; }
Generates article content with in HTML

@return mixed
Generates article content with in HTML