Sync
This commit is contained in:
17
app/JsonLd/FAQPage.php
Normal file
17
app/JsonLd/FAQPage.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\JsonLd;
|
||||
|
||||
use JsonLd\ContextTypes\AbstractContext;
|
||||
|
||||
class FAQPage extends AbstractContext
|
||||
{
|
||||
protected $structure = [
|
||||
'mainEntity' => [],
|
||||
];
|
||||
|
||||
protected function setMainEntityAttribute($value)
|
||||
{
|
||||
return (array) $value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user