TwilioCapabilityWrapper::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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