/** * Parse the specified XML into an directory response message object * * @param SimpleXMLElement $xml */ public static function parse_create_date(SimpleXMLElement $xml, self $message) { if ($xml->createDateTimestamp) { $date = new DateTime((string) $xml->createDateTimestamp); $message->set_create_date($date); } return $message; }
/** * Constructs and initialize an directory response message */ public function __construct() { parent::__construct(self::NAME); }