18 lines
544 B
PHP
18 lines
544 B
PHP
<?php
|
|||
|
|
|
||
|
|
namespace App\Models;
|
||
|
|
|
||
|
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
use JacobJoergensen\LaravelPaper\Attributes\ContentPath;
|
||
|
|
use JacobJoergensen\LaravelPaper\Attributes\Driver;
|
||
|
|
use JacobJoergensen\LaravelPaper\Paper;
|
||
|
|
|
||
|
|
// A titled group of FAQs on the FAQ page, ordered by its faqs relation.
|
||
|
|
// Default-locale entries, like StoicPage; Stoic::localizedRelation() layers
|
||
|
|
// the current locale's fields on top.
|
||
|
|
#[Driver("markdown")]
|
||
|
|
#[ContentPath("resources/stoic/content/el/faq-sections")]
|
||
|
|
class StoicFaqSection extends Model
|
||
|
|
{
|
||
|
|
use Paper;
|
||
|
|
}
|