summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/exchange-includes/jamesiarmes/PhpEws/Enumeration.php
blob: 8b9ad583a2675e2b12946829deaf7ab9a4615179 (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
<?php
/**
 * Contains \jamesiarmes\PhpEws\Enumeration.
 */

namespace jamesiarmes\PhpEws;

/**
 * Base class for Exchange Web Service Enumerations.
 *
 * @package php-ews\Enumeration
 */
class Enumeration extends Type
{
    /**
     * Element value.
     *
     * @deprecated 1.0.0
     *   This property will be removed in a future release and should not be
     *   used. Instead, you should reference the constants implemented in the
     *   class directly.
     *
     * @var string
     */
    public $_;

    /**
     * Returns the value of this enumeration as a string..
     *
     * @return string
     */
    public function __toString()
    {
        return $this->_;
    }
}