Sms   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 1
cbo 2
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A shareUrl() 0 6 1
1
<?php
2
3
namespace SocialLinks\Providers;
4
5
class Sms extends ProviderBase implements ProviderInterface
6
{
7
    /**
8
     * {@inheritdoc}
9
     */
10
    public function shareUrl()
11
    {
12
        $info = $this->page->get();
13
14
        return 'sms:?&body='.rawurlencode(trim($info['title'].' '.$info['url']));
15
    }
16
}
17