src/HtmlDomParserHelper.php
public function getPageTitle()
    {
        if (!$this->parser) {
            return;
        }

        $node = $this->parser->find('title', 0);

        if ($node) {
            return $node->innertext;
        }
    }
public function getPageTitle()
    {
        if (!$this->parser) {
            return;
        }

        $node = $this->parser->find('title', 0);

        if ($node) {
            return $node->innertext;
        }
    }
public function getPageTitle ( ) { if ( ! $ this -> parser ) { return ; } $ node = $ this -> parser -> find ( 'title' , 0 ) ; if ( $ node ) { return $ node -> innertext ; } }
Get page title

@return string title
Get page title