PHP Interface Arcanedev\SeoHelper\Contracts\Entities\Keywords

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

Public Methods

Method Description
add ( string $keyword ) : self Add a keyword to the content.
addMany ( array $keywords ) : self Add many keywords to the content.
getContent ( ) : array Get content.
make ( array | string $keywords ) : self Make Keywords instance.
set ( array | string $content ) : self Set description content.

Method Details

add() public method

Add a keyword to the content.
public add ( string $keyword ) : self
$keyword string
return self

addMany() public method

Add many keywords to the content.
public addMany ( array $keywords ) : self
$keywords array
return self

getContent() public method

Get content.
public getContent ( ) : array
return array

make() public static method

Make Keywords instance.
public static make ( array | string $keywords ) : self
$keywords array | string
return self

set() public method

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