Completed
Push — master ( 69cae2...0f037f )
by Vladimir
03:08
created

Yahoo   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1

1 Method

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