Version 1
[yaffs-website] / vendor / zendframework / zend-feed / src / Writer / Extension / RendererInterface.php
1 <?php
2 /**
3  * Zend Framework (http://framework.zend.com/)
4  *
5  * @link      http://github.com/zendframework/zf2 for the canonical source repository
6  * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
7  * @license   http://framework.zend.com/license/new-bsd New BSD License
8  */
9
10 namespace Zend\Feed\Writer\Extension;
11
12 use DOMDocument;
13 use DOMElement;
14
15 /**
16 */
17 interface RendererInterface
18 {
19     /**
20      * Set the data container
21      *
22      * @param  mixed $container
23      * @return void
24      */
25     public function setDataContainer($container);
26
27     /**
28      * Retrieve container
29      *
30      * @return mixed
31      */
32     public function getDataContainer();
33
34     /**
35      * Set DOMDocument and DOMElement on which to operate
36      *
37      * @param  DOMDocument $dom
38      * @param  DOMElement $base
39      * @return void
40      */
41     public function setDomDocument(DOMDocument $dom, DOMElement $base);
42
43     /**
44      * Render
45      *
46      * @return void
47      */
48     public function render();
49 }