src/DocumentationRepository.php
protected function prepareCanonical()
    {
        if ($this->documentation->sectionExists($this->defaultVersion, $this->sectionPage)) {
            $this->canonical = $this->docsRoute.'/'.$this->defaultVersion.'/'.$this->sectionPage;
        }

        return $this;
    }
protected function prepareCanonical()
    {
        if ($this->documentation->sectionExists($this->defaultVersion, $this->sectionPage)) {
            $this->canonical = $this->docsRoute.'/'.$this->defaultVersion.'/'.$this->sectionPage;
        }

        return $this;
    }
protected function prepareCanonical ( ) { if ( $ this -> documentation -> sectionExists ( $ this -> defaultVersion , $ this -> sectionPage ) ) { $ this -> canonical = $ this -> docsRoute . '/' . $ this -> defaultVersion . '/' . $ this -> sectionPage ; } return $ this ; }
Prepare the canonical link.

@return $this
Prepare the canonical link .