WsseAuth   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 24
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
/*
4
 * This file is part of the AMFWebServicesClientBundle package.
5
 *
6
 * (c) Amine Fattouch <http://github.com/fattouchsquall>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace AMF\WebServicesClientBundle\Soap\Security;
13
14
/**
15
 * The soap wsse login informations.
16
 *
17
 * @author Mohamed Amine Fattouch <[email protected]>
18
 */
19
class WsseAuth
20
{
21
    /**
22
     * @var string
23
     */
24
    protected $Username;
25
26
    /**
27
     * @var string
28
     */
29
    protected $Password;
30
31
    /**
32
     * Constructor class.
33
     *
34
     * @param string $username The username used in wsse security.
35
     * @param string $password The password used in wsse security.
36
     */
37 3
    public function __construct($username, $password)
38
    {
39 3
        $this->Username = $username;
40 3
        $this->Password = $password;
41 3
    }
42
}
43