PHP Интерфейс Arcanedev\SeoHelper\Contracts\Entities\Description

Автор: ARCANEDEV ([email protected])
Наследование: extends Arcanedev\SeoHelper\Contracts\Renderable
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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.

Описание методов

get() публичный метод

Get description content.
public get ( ) : string
Результат string

getContent() публичный метод

Get raw description content.
public getContent ( ) : string
Результат string

getMax() публичный метод

Get description max length.
public getMax ( ) : integer
Результат integer

make() публичный статический метод

Make a description instance.
public static make ( string $content, integer $max = 155 ) : self
$content string
$max integer
Результат self

set() публичный метод

Set description content.
public set ( string $content ) : self
$content string
Результат self

setMax() публичный метод

Set description max length.
public setMax ( integer $max ) : self
$max integer
Результат self