src/Model/Page.php
public function setPageName($title)
    {
        $this->oldTitle = $this->pageName;
        $this->pageName = $title;

        if ($this->pageName && $this->getContentRoute()) {
            $this->getContentRoute()->setName($this->pageName);
        }

        return $this;
    }
public function setPageName($title)
    {
        $this->oldTitle = $this->pageName;
        $this->pageName = $title;

        if ($this->pageName && $this->getContentRoute()) {
            $this->getContentRoute()->setName($this->pageName);
        }

        return $this;
    }
public function setPageName ( $ title ) { $ this -> oldTitle = $ this -> pageName ; $ this -> pageName = $ title ; if ( $ this -> pageName && $ this -> getContentRoute ( ) ) { $ this -> getContentRoute ( ) -> setName ( $ this -> pageName ) ; } return $ this ; }
Set pageName.

@param string $title

@return $this
Set pageName .