PHP 인터페이스 FastFeed\FastFeedInterface

파일 보기 프로젝트 열기: fastfeed/fastfeed

공개 메소드들

메소드 설명
addFeed ( string $channel, string $feed ) Add feed to channel
fetch ( string $channel = 'default' ) : array
getFeed ( string $channel ) : string Retrieve a channel
getFeeds ( ) : array Retrieve all channels
popParser ( ) : FastFeed\Parser\ParserInterface
popProcessor ( ) : FastFeed\Processor\ProcessorInterface
pushParser ( FastFeed\Parser\ParserInterface $parser )
pushProcessor ( FastFeed\Processor\ProcessorInterface $processor )
setFeed ( string $channel, string $feed ) Set a channel
setHttpClient ( Guzzle\Http\ClientInterface $guzzle ) Set Guzzle
setLogger ( Psr\Log\LoggerInterface $logger )

메소드 상세

addFeed() 공개 메소드

Add feed to channel
public addFeed ( string $channel, string $feed )
$channel string
$feed string

fetch() 공개 메소드

public fetch ( string $channel = 'default' ) : array
$channel string
리턴 array

getFeed() 공개 메소드

Retrieve a channel
public getFeed ( string $channel ) : string
$channel string
리턴 string

getFeeds() 공개 메소드

Retrieve all channels
public getFeeds ( ) : array
리턴 array

popParser() 공개 메소드

public popParser ( ) : FastFeed\Parser\ParserInterface
리턴 FastFeed\Parser\ParserInterface

popProcessor() 공개 메소드

public popProcessor ( ) : FastFeed\Processor\ProcessorInterface
리턴 FastFeed\Processor\ProcessorInterface

pushParser() 공개 메소드

public pushParser ( FastFeed\Parser\ParserInterface $parser )
$parser FastFeed\Parser\ParserInterface

pushProcessor() 공개 메소드

public pushProcessor ( FastFeed\Processor\ProcessorInterface $processor )
$processor FastFeed\Processor\ProcessorInterface

setFeed() 공개 메소드

Set a channel
public setFeed ( string $channel, string $feed )
$channel string
$feed string

setHttpClient() 공개 메소드

Set Guzzle
public setHttpClient ( Guzzle\Http\ClientInterface $guzzle )
$guzzle Guzzle\Http\ClientInterface

setLogger() 공개 메소드

public setLogger ( Psr\Log\LoggerInterface $logger )
$logger Psr\Log\LoggerInterface