Total Complexity | 5 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | trait PageSchemaConstructor |
||
10 | { |
||
11 | protected function constructPageSchema(): void |
||
12 | { |
||
13 | $this->title = FindsTitleForPage::run($this); |
||
|
|||
14 | $this->navigation = FindsNavigationDataForPage::run($this); |
||
15 | $this->canonicalUrl = $this->makeCanonicalUrl(); |
||
16 | } |
||
17 | |||
18 | protected function makeCanonicalUrl(): ?string |
||
29 | } |
||
30 | } |
||
31 |