PHP Interface Arcanedev\SeoHelper\Contracts\Helpers\Meta

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

Public Methods

Method Description
isValid ( ) : boolean Check if meta is valid.
key ( ) : string Get the meta name.
make ( string $name, string $content, string $propertyName = 'name', string $prefix = '' ) : self Make Meta instance.
setNameProperty ( string $nameProperty ) : self Set the meta property name.
setPrefix ( string $prefix ) : self Set the meta prefix name.

Method Details

isValid() public method

Check if meta is valid.
public isValid ( ) : boolean
return boolean

key() public method

Get the meta name.
public key ( ) : string
return string

make() public static method

Make Meta instance.
public static make ( string $name, string $content, string $propertyName = 'name', string $prefix = '' ) : self
$name string
$content string
$propertyName string
$prefix string
return self

setNameProperty() public method

Set the meta property name.
public setNameProperty ( string $nameProperty ) : self
$nameProperty string
return self

setPrefix() public method

Set the meta prefix name.
public setPrefix ( string $prefix ) : self
$prefix string
return self