Yahoo   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
c 1
b 0
f 0
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A buildLink() 0 3 1
1
<?php
2
3
/**
4
 * @link https://github.com/yiimaker/yii2-social-share
5
 * @copyright Copyright (c) 2017-2021 Volodymyr Kupriienko
6
 * @license BSD 3-Clause License
7
 */
8
9
namespace ymaker\social\share\drivers;
10
11
use ymaker\social\share\base\AbstractMailDriver;
12
13
/**
14
 * Driver for Yahoo.
15
 *
16
 * @see https://www.yahoo.com
17
 *
18
 * @author Vladimir Kuprienko <[email protected]>
19
 *
20
 * @since 2.0
21
 */
22
class Yahoo extends AbstractMailDriver
23
{
24
    /**
25
     * {@inheritdoc}
26
     */
27
    protected function buildLink()
28
    {
29
        return 'https://compose.mail.yahoo.com/?subject={title}&body={body}';
30
    }
31
}
32