Passed
Push — main ( e110ad...47f0cd )
by Dylan
02:09
created

Page::getService()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Lifeboat\Models;
4
5
use Lifeboat\Interfaces\CustomFieldSupport;
6
use Lifeboat\Services\Pages;
7
8
/**
9
 * Class Page
10
 * @package Lifeboat\Models
11
 *
12
 * @property string $Title
13
 * @property string $URLSegment
14
 * @property string $Path
15
 * @property string $FullURL
16
 * @property string|null $MetaTitle
17
 * @property string|null $MetaDescription
18
 * @property string|null $ExtraMeta
19
 * @property bool $ExcludeFromSiteMap
20
 * @property array $CustomFields
21
 */
22
class Page extends Model implements CustomFieldSupport {
23
24
    protected static array $casting = [
25
        'ExcludeFromSiteMap' => 'boolval'
26
    ];
27
28
}
29