ArrayOfStringsType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __toString() 0 4 1
1
<?php
2
/**
3
 * Contains \jamesiarmes\PhpEws\ArrayType\ArrayOfStringsType.
4
 */
5
6
namespace jamesiarmes\PhpEws\ArrayType;
7
8
use \jamesiarmes\PhpEws\ArrayType;
9
10
/**
11
 * Represents a collection of strings.
12
 *
13
 * @package php-ews\Array
14
 */
15
class ArrayOfStringsType extends ArrayType
16
{
17
    /**
18
     * Contains a single string.
19
     *
20
     * @since Exchange 2007
21
     *
22
     * @var string[]
23
     */
24
    public $String = array();
25
26
    /**
27
     * Properly converts the value of this type to a string.
28
     *
29
     * @return string
30
     *
31
     * @todo Determine if this is needed.
32
     */
33
    public function __toString()
34
    {
35
        return join(',', $this->String);
36
    }
37
}
38