PHP Interface Arcanedev\SeoHelper\Contracts\SeoOpenGraph

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

Méthodes publiques

Méthode Description
addProperties ( array $properties ) : self Add many open graph properties.
addProperty ( string $property, string $content ) : self Add an open graph property.
disable ( ) : self Disable the OpenGraph.
enable ( ) : self Enable the OpenGraph.
isDisabled ( ) : boolean Check if the OpenGraph is disabled.
isEnabled ( ) : boolean Check if the OpenGraph is enabled.
setDescription ( string $description ) : self Set description property.
setImage ( string $image ) : self Set image property.
setOpenGraph ( Arcanedev\SeoHelper\Contracts\Entities\OpenGraph $openGraph ) : self Set the Open Graph instance.
setPrefix ( string $prefix ) : self Set the open graph prefix.
setSiteName ( string $siteName ) : self Set site name property.
setTitle ( string $title ) : self Set title property.
setType ( string $type ) : self Set type property.
setUrl ( string $url ) : self Set url property.

Method Details

addProperties() public méthode

Add many open graph properties.
public addProperties ( array $properties ) : self
$properties array
Résultat self

addProperty() public méthode

Add an open graph property.
public addProperty ( string $property, string $content ) : self
$property string
$content string
Résultat self

disable() public méthode

Disable the OpenGraph.
public disable ( ) : self
Résultat self

enable() public méthode

Enable the OpenGraph.
public enable ( ) : self
Résultat self

isDisabled() public méthode

Check if the OpenGraph is disabled.
public isDisabled ( ) : boolean
Résultat boolean

isEnabled() public méthode

Check if the OpenGraph is enabled.
public isEnabled ( ) : boolean
Résultat boolean

setDescription() public méthode

Set description property.
public setDescription ( string $description ) : self
$description string
Résultat self

setImage() public méthode

Set image property.
public setImage ( string $image ) : self
$image string
Résultat self

setOpenGraph() public méthode

Set the Open Graph instance.
public setOpenGraph ( Arcanedev\SeoHelper\Contracts\Entities\OpenGraph $openGraph ) : self
$openGraph Arcanedev\SeoHelper\Contracts\Entities\OpenGraph
Résultat self

setPrefix() public méthode

Set the open graph prefix.
public setPrefix ( string $prefix ) : self
$prefix string
Résultat self

setSiteName() public méthode

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

setTitle() public méthode

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

setType() public méthode

Set type property.
public setType ( string $type ) : self
$type string
Résultat self

setUrl() public méthode

Set url property.
public setUrl ( string $url ) : self
$url string
Résultat self