PHP Interface Arcanedev\SeoHelper\Contracts\Entities\Title

Author: ARCANEDEV ([email protected])
Inheritance: extends Arcanedev\SeoHelper\Contracts\Renderable
Afficher le fichier Open project: arcanedev/seo-helper Interface Usage Examples

Méthodes publiques

Méthode Description
getMax ( ) : integer Get title max lenght.
getSeparator ( ) : string Get title separator.
getSiteName ( ) : string Get site name.
getTitleOnly ( ) : string Get title only (without site name or separator).
isTitleFirst ( ) : boolean Check if title is first.
make ( string $title, string $siteName = '', string $separator = '-' ) : self Make a Title instance.
set ( string $title ) : self Set title.
setFirst ( ) : self Set title first.
setLast ( ) : self Set title last.
setMax ( integer $max ) : self Set title max lenght.
setSeparator ( string $separator ) : self Set title separator.
setSiteName ( string $siteName ) : self Set site name.

Method Details

getMax() public méthode

Get title max lenght.
public getMax ( ) : integer
Résultat integer

getSeparator() public méthode

Get title separator.
public getSeparator ( ) : string
Résultat string

getSiteName() public méthode

Get site name.
public getSiteName ( ) : string
Résultat string

getTitleOnly() public méthode

Get title only (without site name or separator).
public getTitleOnly ( ) : string
Résultat string

isTitleFirst() public méthode

Check if title is first.
public isTitleFirst ( ) : boolean
Résultat boolean

make() public static méthode

Make a Title instance.
public static make ( string $title, string $siteName = '', string $separator = '-' ) : self
$title string
$siteName string
$separator string
Résultat self

set() public méthode

Set title.
public set ( string $title ) : self
$title string
Résultat self

setFirst() public méthode

Set title first.
public setFirst ( ) : self
Résultat self

setLast() public méthode

Set title last.
public setLast ( ) : self
Résultat self

setMax() public méthode

Set title max lenght.
public setMax ( integer $max ) : self
$max integer
Résultat self

setSeparator() public méthode

Set title separator.
public setSeparator ( string $separator ) : self
$separator string
Résultat self

setSiteName() public méthode

Set site name.
public setSiteName ( string $siteName ) : self
$siteName string
Résultat self