PHP Class Suin\RSSWriter\Feed

Inheritance: implements Suin\RSSWriter\FeedInterface
Datei anzeigen Open project: suin/php-rss-writer

Protected Properties

Property Type Description
$channels Suin\RSSWriter\ChannelInterface[]

Public Methods

Method Description
__toString ( ) : string Render XML
addChannel ( Suin\RSSWriter\ChannelInterface $channel ) Add channel
render ( ) : string Render XML

Method Details

__toString() public method

Render XML
public __toString ( ) : string
return string

addChannel() public method

Add channel
public addChannel ( Suin\RSSWriter\ChannelInterface $channel )
$channel Suin\RSSWriter\ChannelInterface

render() public method

Render XML
public render ( ) : string
return string

Property Details

$channels protected_oe property

protected ChannelInterface[],Suin\RSSWriter $channels
return Suin\RSSWriter\ChannelInterface[]