web/Zend/Tool/Project/Profile/FileParser/Interface.php
changeset 0 4eba9c11703f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/Zend/Tool/Project/Profile/FileParser/Interface.php	Mon Dec 13 18:29:26 2010 +0100
@@ -0,0 +1,54 @@
+<?php
+/**
+ * Zend Framework
+ *
+ * LICENSE
+ *
+ * This source file is subject to the new BSD license that is bundled
+ * with this package in the file LICENSE.txt.
+ * It is also available through the world-wide-web at this URL:
+ * http://framework.zend.com/license/new-bsd
+ * If you did not receive a copy of the license and are unable to
+ * obtain it through the world-wide-web, please send an email
+ * to license@zend.com so we can send you a copy immediately.
+ *
+ * @category   Zend
+ * @package    Zend_Tool
+ * @subpackage Framework
+ * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license    http://framework.zend.com/license/new-bsd     New BSD License
+ * @version    $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
+ */
+
+/**
+ * @category   Zend
+ * @package    Zend_Tool
+ * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @license    http://framework.zend.com/license/new-bsd     New BSD License
+ */
+interface Zend_Tool_Project_Profile_FileParser_Interface
+{
+
+    /**
+     * serialize()
+     *
+     * This method should take a profile and return a string
+     * representation of it.
+     *
+     * @param Zend_Tool_Project_Profile $profile
+     * @return string
+     */
+    public function serialize(Zend_Tool_Project_Profile $profile);
+
+    /**
+     * unserialize()
+     *
+     * This method should be able to take string data an create a
+     * struture in the provided $profile
+     *
+     * @param string $data
+     * @param Zend_Tool_Project_Profile $profile
+     */
+    public function unserialize($data, Zend_Tool_Project_Profile $profile);
+
+}
\ No newline at end of file