-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTemplateRule.php
More file actions
34 lines (29 loc) · 847 Bytes
/
TemplateRule.php
File metadata and controls
34 lines (29 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
declare(strict_types=1);
namespace ArrayAccess\TrayDigita\App\Modules\Core\SubModules\Templates;
use ArrayAccess\TrayDigita\Templates\Abstracts\AbstractTemplateRule;
class TemplateRule extends AbstractTemplateRule
{
/**
* @var array<string>
*/
protected array $requiredFiles = [
'base.twig',
'errors/404.twig',
'errors/500.twig',
'templates/home.twig',
'templates/articles.twig',
'templates/article.twig',
'templates/maintenance.twig',
'templates/page.twig',
'templates/search.twig',
// dashboard
'dashboard/login.twig',
'dashboard/register.twig',
'dashboard/reset-password.twig',
// user
'dashboard/login.twig',
'dashboard/register.twig',
'dashboard/reset-password.twig',
];
}