mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 20:46:26 +05:30
27 lines
403 B
PHP
27 lines
403 B
PHP
<?php
|
|
|
|
namespace Suin\RSSWriter;
|
|
|
|
use \Suin\RSSWriter\ChannelInterface;
|
|
|
|
interface FeedInterface
|
|
{
|
|
/**
|
|
* Add channel
|
|
* @param \Suin\RSSWriter\ChannelInterface $channel
|
|
* @return $thisJ
|
|
*/
|
|
public function addChannel(ChannelInterface $channel);
|
|
|
|
/**
|
|
* Render XML
|
|
* @return string
|
|
*/
|
|
public function render();
|
|
|
|
/**
|
|
* Render XML
|
|
* @return string
|
|
*/
|
|
public function __toString();
|
|
}
|