src/SEOTools/SEOMeta.php
public function getCanonical()
    {
        $canonical_config = $this->config->get('defaults.canonical', false);

        return $this->canonical ?: (($canonical_config === null) ? app('url')->full() : $canonical_config);
    }
public function getCanonical()
    {
        $canonical_config = $this->config->get('defaults.canonical', false);

        return $this->canonical ?: (($canonical_config === null) ? app('url')->full() : $canonical_config);
    }
public function getCanonical ( ) { $ canonical_config = $ this -> config -> get ( 'defaults.canonical' , false ) ; return $ this -> canonical ? : ( ( $ canonical_config === null ) ? app ( 'url' ) -> full ( ) : $ canonical_config ) ; }
Get the canonical URL.

@return string
Get the canonical URL .