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