private function setupHead($title, $description, $keywords)
    {
        // Create title tag
        $this->setTitle($title);

        // Create meta tags
        $this->addMeta($name = '', $content = '', $httpEquiv = '', $charset = 'UTF-8');
        if (!empty($description)) {
            $this->addMeta($name = 'description', $description);
        }
        if (!empty($keywords)) {
            $this->addMeta($name = 'keywords', $keywords);
        }

        return $this;
    }
private function setupHead($title, $description, $keywords)
    {
        // Create title tag
        $this->setTitle($title);

        // Create meta tags
        $this->addMeta($name = '', $content = '', $httpEquiv = '', $charset = 'UTF-8');
        if (!empty($description)) {
            $this->addMeta($name = 'description', $description);
        }
        if (!empty($keywords)) {
            $this->addMeta($name = 'keywords', $keywords);
        }

        return $this;
    }
private function setupHead ( $ title , $ description , $ keywords ) { // Create title tag $ this -> setTitle ( $ title ) ; // Create meta tags $ this -> addMeta ( $ name = '' , $ content = '' , $ httpEquiv = '' , $ charset = 'UTF-8' ) ; if ( ! empty ( $ description ) ) { $ this -> addMeta ( $ name = 'description' , $ description ) ; } if ( ! empty ( $ keywords ) ) { $ this -> addMeta ( $ name = 'keywords' , $ keywords ) ; } return $ this ; }
Builds all the meta tags along with the document title tag.

@param string $title       The title of the document.
@param string $description The description meta.
@param string $keywords    The keywords meta.

@return $this
@throws Exception
@throws InvalidArgumentException
Builds all the meta tags along with the document title tag .