Property | Type | Description | |
---|---|---|---|
$metas | Arcanedev\SeoHelper\Contracts\Entities\MetaCollection | The Open Graph meta collection. |
Method | Description | |
---|---|---|
__construct ( array $configs = [] ) | Make Graph instance. | |
__toString ( ) : string | Render the tag. | |
addProperties ( array $properties ) : |
Add many open graph properties. | |
addProperty ( string $property, string $content ) : |
Add an open graph property. | |
render ( ) : string | Render the tag. | |
setDescription ( string $description ) : |
Set description property. | |
setImage ( string $image ) : |
Set image property. | |
setPrefix ( string $prefix ) : |
Set the open graph prefix. | |
setSiteName ( string $siteName ) : |
Set site name property. | |
setTitle ( string $title ) : |
Set title property. | |
setType ( string $type ) : |
Set type property. | |
setUrl ( string $url ) : |
Set url property. |
Method | Description | |
---|---|---|
init ( ) | Start the engine. |
public __construct ( array $configs = [] ) | ||
$configs | array |
public addProperties ( array $properties ) : |
||
$properties | array | |
return |
public addProperty ( string $property, string $content ) : |
||
$property | string | |
$content | string | |
return |
public setDescription ( string $description ) : |
||
$description | string | |
return |
public setSiteName ( string $siteName ) : |
||
$siteName | string | |
return |