src/Magyarjeti/Loripsum/Client.php
protected function generate()
    {
        $params = array_keys($this->params);

        if ($this->paragraphs) {
            $params[] = $this->paragraphs;
        }

        $url = self::API_URL . implode('/', $params);

        return $this->conn->request($url);
    }
protected function generate()
    {
        $params = array_keys($this->params);

        if ($this->paragraphs) {
            $params[] = $this->paragraphs;
        }

        $url = self::API_URL . implode('/', $params);

        return $this->conn->request($url);
    }
protected function generate ( ) { $ params = array_keys ( $ this -> params ) ; if ( $ this -> paragraphs ) { $ params [ ] = $ this -> paragraphs ; } $ url = self :: API_URL . implode ( '/' , $ params ) ; return $ this -> conn -> request ( $ url ) ; }
Generate the text.

@return string
Generate the text .