[Pkg-owncloud-commits] [php-sabre-vobject] 76/341: !xml Add the abstract Node::xmlSerialize() method.

David Prévot taffit at moszumanska.debian.org
Tue Aug 11 13:35:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabre-vobject.

commit 034d971452c202f89c33c42f814835ebdc3158a6
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date:   Mon Nov 24 11:32:12 2014 +0100

    !xml Add the abstract Node::xmlSerialize() method.
---
 lib/Node.php | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/lib/Node.php b/lib/Node.php
index 00c1c8b..3ac15b5 100644
--- a/lib/Node.php
+++ b/lib/Node.php
@@ -77,6 +77,14 @@ abstract class Node
      */
     abstract function jsonSerialize();
 
+    /**
+     * This method returns an array, with the representation as it should be
+     * encoded in XML. This is used to create xCard or xCal documents.
+     *
+     * @return array
+     */
+    abstract function xmlSerialize();
+
     /* {{{ IteratorAggregator interface */
 
     /**

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabre-vobject.git



More information about the Pkg-owncloud-commits mailing list