Total Complexity | 3 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
25 | class DirectoryResponseMessage extends ResponseMessage { |
||
26 | /** |
||
27 | * The document element name |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | const NAME = 'DirectoryRes'; |
||
32 | |||
33 | /** |
||
34 | * The directory |
||
35 | * |
||
36 | * @var Directory |
||
37 | */ |
||
38 | public $directory; |
||
39 | |||
40 | /** |
||
41 | * Constructs and initialize an directory response message |
||
42 | */ |
||
43 | final public function __construct() { |
||
44 | parent::__construct( self::NAME ); |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * Get the directory |
||
49 | * |
||
50 | * @return Directory |
||
51 | */ |
||
52 | public function get_directory() { |
||
53 | return $this->directory; |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * Parse the specified XML into an directory response message object |
||
58 | * |
||
59 | * @param SimpleXMLElement $xml XML. |
||
60 | * @return DirectoryResponseMessage |
||
61 | */ |
||
62 | public static function parse( SimpleXMLElement $xml ) { |
||
68 | } |
||
69 | } |
||
70 |