summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/ArrayType/ArrayOfStringsType.php
blob: 6443d31d53e4df30c0977a97ee61cd5f4a81f87b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
 * Contains \jamesiarmes\PhpEws\ArrayType\ArrayOfStringsType.
 */

namespace jamesiarmes\PhpEws\ArrayType;

use \jamesiarmes\PhpEws\ArrayType;

/**
 * Represents a collection of strings.
 *
 * @package php-ews\Array
 */
class ArrayOfStringsType extends ArrayType
{
    /**
     * Contains a single string.
     *
     * @since Exchange 2007
     *
     * @var string[]
     */
    public $String = array();

    /**
     * Properly converts the value of this type to a string.
     *
     * @return string
     *
     * @todo Determine if this is needed.
     */
    public function __toString()
    {
        return $this->String;
    }
}