Completed
Push — master ( 55f7c6...df502b )
by Elodie
11s
created

SitePostMessage::setDataParentId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Yproximite\Api\Message\Site;
5
6
/**
7
 * Class SitePostMessage
8
 */
9
class SitePostMessage extends AbstractSiteMessage
10
{
11
    /**
12
     * {@inheritdoc}
13
     */
14
    public function build()
15
    {
16
        return [
17
            'title'                 => $this->getTitle(),
18
            'dataParent'            => $this->getDataParentId(),
19
            'theme'                 => $this->getThemeId(),
20
            'contactEmail'          => $this->getContactEmail(),
21
            'host'                  => $this->getHost(),
22
            'defaultLocale'         => $this->getDefaultLocale(),
23
            'company'               => $this->getCompanyId(),
24
            'sendRegistrationEmail' => $this->isSendRegistrationEmail(),
25
            'zohoManager'           => $this->getZohoManager(),
26
            'zohoStatus'            => $this->getZohoStatus(),
27
            'billingStatus'         => $this->getBillingStatus(),
28
            'importRef'             => $this->getImportRef(),
29
        ];
30
    }
31
}
32