Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | class LinkedIn extends AbstractDriver |
||
25 | { |
||
26 | /** |
||
27 | * @var bool|string |
||
28 | */ |
||
29 | public $siteName = false; |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | protected function processShareData() |
||
35 | { |
||
36 | $this->url = static::encodeData($this->url); |
||
37 | $this->title = static::encodeData($this->title); |
||
38 | $this->description = static::encodeData($this->description); |
||
39 | |||
40 | if (\is_string($this->siteName)) { |
||
41 | $this->appendToData('siteName', $this->siteName); |
||
42 | } |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | protected function buildLink() |
||
60 | } |
||
61 | } |
||
62 |