public function articleTitle()
    {
        $title = $this->getTitle();

        $search = [
            '{{ noun }}',
            '{{ verb }}',
            '{{ adjective }}',
            '{{ adverb }}',
        ];

        $replace = [
            $this->getNoun(),
            $this->getVerb(),
            $this->getAdjective(),
            $this->getAdverb(),
        ];

        $title = ucfirst(str_replace($search, $replace, $title));

        return $title;
    }
public function articleTitle()
    {
        $title = $this->getTitle();

        $search = [
            '{{ noun }}',
            '{{ verb }}',
            '{{ adjective }}',
            '{{ adverb }}',
        ];

        $replace = [
            $this->getNoun(),
            $this->getVerb(),
            $this->getAdjective(),
            $this->getAdverb(),
        ];

        $title = ucfirst(str_replace($search, $replace, $title));

        return $title;
    }
public function articleTitle ( ) { $ title = $ this -> getTitle ( ) ; $ search = [ '{{ noun }}' , '{{ verb }}' , '{{ adjective }}' , '{{ adverb }}' , ] ; $ replace = [ $ this -> getNoun ( ) , $ this -> getVerb ( ) , $ this -> getAdjective ( ) , $ this -> getAdverb ( ) , ] ; $ title = ucfirst ( str_replace ( $ search , $ replace , $ title ) ) ; return $ title ; }
Generates an article title using real words

@return string
Generates an article title using real words