PHP Interface Arcanedev\SeoHelper\Contracts\Entities\Description

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

Public Methods

Method Description
get ( ) : string Get description content.
getContent ( ) : string Get raw description content.
getMax ( ) : integer Get description max length.
make ( string $content, integer $max = 155 ) : self Make a description instance.
set ( string $content ) : self Set description content.
setMax ( integer $max ) : self Set description max length.

Method Details

get() public method

Get description content.
public get ( ) : string
return string

getContent() public method

Get raw description content.
public getContent ( ) : string
return string

getMax() public method

Get description max length.
public getMax ( ) : integer
return integer

make() public static method

Make a description instance.
public static make ( string $content, integer $max = 155 ) : self
$content string
$max integer
return self

set() public method

Set description content.
public set ( string $content ) : self
$content string
return self

setMax() public method

Set description max length.
public setMax ( integer $max ) : self
$max integer
return self