| 1 | <?php |
||
| 5 | class SeoPageBuilder extends SeoPage implements PageBuilder |
||
| 6 | { |
||
| 7 | /** {@inheritdoc} */ |
||
| 8 | 3 | public function setMeta(array $meta) |
|
| 9 | { |
||
| 10 | 3 | $this->meta = $meta; |
|
| 11 | |||
| 12 | 3 | return $this; |
|
| 13 | } |
||
| 14 | |||
| 15 | /** {@inheritdoc} */ |
||
| 16 | 13 | public function setTitle($title) |
|
| 22 | |||
| 23 | /** {@inheritdoc} */ |
||
| 24 | 3 | public function setCanonicalLink($canonical = null) |
|
| 25 | { |
||
| 26 | 3 | $this->canonical = $canonical; |
|
| 27 | |||
| 28 | 3 | return $this; |
|
| 29 | } |
||
| 30 | |||
| 31 | /** {@inheritdoc} */ |
||
| 32 | 2 | public function setHtmlAttributes(array $htmlAttributes) |
|
| 33 | { |
||
| 34 | 2 | $this->htmlAttributes = $htmlAttributes; |
|
| 35 | |||
| 36 | 2 | return $this; |
|
| 37 | } |
||
| 38 | |||
| 39 | /** {@inheritdoc} */ |
||
| 40 | 2 | public function setBreadcrumbs(array $breadcrumbs) |
|
| 41 | { |
||
| 42 | 2 | $this->breadcrumbs = $breadcrumbs; |
|
| 43 | |||
| 44 | 2 | return $this; |
|
| 45 | } |
||
| 46 | |||
| 47 | /** {@inheritdoc} */ |
||
| 48 | 13 | public function getSeoPage() |
|
| 52 | |||
| 53 | /** {@inheritdoc} */ |
||
| 54 | 2 | public static function create() |
|
| 55 | { |
||
| 56 | 2 | return new static(); |
|
| 58 | } |
||
| 59 |