TwilioCapabilityWrapper   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A createInstance() 0 4 1
1
<?php
2
namespace Vresh\TwilioBundle\Service;
3
4
/**
5
 * This file is part of the VreshTwilioBundle.
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 *
10
 * @author Joseph Le <[email protected]>
11
 */
12
class TwilioCapabilityWrapper extends \Services_Twilio_Capability
13
{
14
    /**
15
     * @param string $sid
16
     * @param string $token
17
     */
18
    public function __construct($sid, $token)
19
    {
20
        parent::__construct($sid, $token);
21
    }
22
23
    /**
24
     * Returns a new \Services_Twilio_Capability instance from the given parameters
25
     *
26
     * @param      $sid
27
     * @param      $token
28
     *
29
     * @return \Services_Twilio_Capability
30
     */
31
    public function createInstance($sid, $token)
32
    {
33
        return new \Services_Twilio_Capability($sid, $token);
34
    }
35
36
}
37