Page   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getType() 0 4 1
1
<?php
2
/**
3
 * Lichtenwallner  (https://lichtenwallner.at)
4
 *
5
 * @see https://github.com/jolicht/markdown-cms for the canonical source repository
6
 * @license https://github.com/jolicht/markdown-cms/blob/master/LICENSE MIT
7
 * @copyright Copyright (c) Johannes Lichtenwallner
8
 */
9
declare(strict_types = 1);
10
namespace Jolicht\MarkdownCms\ContentType;
11
12
/**
13
 * Content Type Page
14
 */
15
class Page extends AbstractContentType implements ContentTypeInterface
16
{
17
    /**
18
     * Get type
19
     *
20
     * {@inheritDoc}
21
     * @see \Jolicht\MarkdownCms\ContentType\AbstractContentType::getType()
22
     */
23
    public function getType() : string
24
    {
25
        return 'page';
26
    }
27
}