public function slugSuffix()
    {
        if (!$this->slugSuffix) {
            $metadata = $this->metadata();

            if (isset($metadata['routable']['suffix'])) {
                $this->slugSuffix = $this->translator()->translation($metadata['routable']['suffix']);
            }
        }

        return $this->slugSuffix;
    }
public function slugSuffix()
    {
        if (!$this->slugSuffix) {
            $metadata = $this->metadata();

            if (isset($metadata['routable']['suffix'])) {
                $this->slugSuffix = $this->translator()->translation($metadata['routable']['suffix']);
            }
        }

        return $this->slugSuffix;
    }
public function slugSuffix ( ) { if ( ! $ this -> slugSuffix ) { $ metadata = $ this -> metadata ( ) ; if ( isset ( $ metadata [ 'routable' ] [ 'suffix' ] ) ) { $ this -> slugSuffix = $ this -> translator ( ) -> translation ( $ metadata [ 'routable' ] [ 'suffix' ] ) ; } } return $ this -> slugSuffix ; }
Retrieve route suffix for the object's URL slug pattern.

@return \Charcoal\Translator\Translation|null
Retrieve route suffix for the object s URL slug pattern .