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

Yahoo::buildLink()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
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