PHP Class Eko\FeedBundle\Feed\FeedManager
This class manage feeds specified in configuration file
Mostrar archivo
Open project: eko/feedbundle
Class Usage Examples
Protected Properties
Public Methods
Method |
Description |
|
__construct ( Symfony\Component\Routing\RouterInterface $router, array $config, array $formatters ) |
Constructor. |
|
get ( string $feedName ) : Eko\FeedBundle\Feed\Feed |
Return specified Feed instance if exists. |
|
has ( string $feed ) : boolean |
Check if feed exists in configuration under 'feeds' node. |
|
Method Details
__construct()
public method
public __construct ( Symfony\Component\Routing\RouterInterface $router, array $config, array $formatters ) |
$router |
Symfony\Component\Routing\RouterInterface |
A Symfony router instance |
$config |
array |
Configuration settings |
$formatters |
array |
Feed formatters list |
Return specified Feed instance if exists.
public get ( string $feedName ) : Eko\FeedBundle\Feed\Feed |
$feedName |
string |
|
return |
Eko\FeedBundle\Feed\Feed |
|
Check if feed exists in configuration under 'feeds' node.
Property Details
$config protected_oe property
protected array $config |
return |
array |
|
$feeds protected_oe property
protected array $feeds |
return |
array |
|
$router protected_oe property
protected RouterInterface,Symfony\Component\Routing $router |
return |
Symfony\Component\Routing\RouterInterface |
|