Completed
Push — master ( 382b22...57bef4 )
by Pavel
02:35
created

SeoPage::getHtmlAttributes()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Bankiru\Seo\Page;
4
5
class SeoPage implements SeoPageInterface
6
{
7
    /** @var HtmlMetaInterface[] */
8
    protected $meta = [];
9
    /** @var string */
10
    protected $title;
11
    /** @var string */
12
    protected $canonical;
13
    /** @var string[] */
14
    protected $htmlAttributes = [];
15
    /** @var string[] */
16
    protected $breadcrumbs = [];
17
18
    /** @return HtmlMetaInterface[] */
19
    public function getMeta()
20
    {
21
        return $this->meta;
22
    }
23
24
    /** @return string */
25 1
    public function getTitle()
26
    {
27 1
        return $this->title;
28
    }
29
30
    /** @return string[] */
31
    public function getHtmlAttributes()
32
    {
33
        return $this->htmlAttributes;
34
    }
35
36
    /** @return string|null */
37
    public function getCanonicalLink()
38
    {
39
        return $this->canonical;
40
    }
41
42
    /** @return string[] */
43
    public function getBreadcrumbs()
44
    {
45
        return $this->breadcrumbs;
46
    }
47
}
48