src/PageTitle.php
protected function addPageName()
    {
        if (! empty($this->getPageName()) && ! in_array($this->getPageName(), $this->collection)) {
            $this->add($this->getPageName());
        }
    }
protected function addPageName()
    {
        if (! empty($this->getPageName()) && ! in_array($this->getPageName(), $this->collection)) {
            $this->add($this->getPageName());
        }
    }
protected function addPageName ( ) { if ( ! empty ( $ this -> getPageName ( ) ) && ! in_array ( $ this -> getPageName ( ) , $ this -> collection ) ) { $ this -> add ( $ this -> getPageName ( ) ) ; } }
Add the page name to the collection.
Add the page name to the collection .