This commit is contained in:
2023-11-28 04:39:36 +08:00
parent a9ac0e48b3
commit dc37274b6c
86 changed files with 2106 additions and 191 deletions

17
app/JsonLd/FAQPage.php Normal file
View 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;
}
}