Свойство | Тип | Описание | |
---|---|---|---|
$metas | Arcanedev\SeoHelper\Contracts\Entities\MetaCollection | The Open Graph meta collection. |
Метод | Описание | |
---|---|---|
__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. |
Метод | Описание | |
---|---|---|
init ( ) | Start the engine. |
public __construct ( array $configs = [] ) | ||
$configs | array |
public addProperties ( array $properties ) : |
||
$properties | array | |
Результат |
public addProperty ( string $property, string $content ) : |
||
$property | string | |
$content | string | |
Результат |
public setDescription ( string $description ) : |
||
$description | string | |
Результат |
public setSiteName ( string $siteName ) : |
||
$siteName | string | |
Результат |