PHP Interface Crummy\Phlack\Bot\Mainframe\Adapter\AdapterInterface

Mostra file Open project: mcrumm/phlack

Public Methods

Method Description
attach ( Crummy\Phlack\Bot\BotInterface $bot, Crummy\Phlack\Common\Matcher\MatcherInterface | callable $matcher = null, integer $priority ) : self
getConverter ( ) : Crummy\Phlack\WebHook\Converter\ConverterInterface
setMainframe ( Mainframe $mainframe ) : self

Method Details

attach() public method

public attach ( Crummy\Phlack\Bot\BotInterface $bot, Crummy\Phlack\Common\Matcher\MatcherInterface | callable $matcher = null, integer $priority ) : self
$bot Crummy\Phlack\Bot\BotInterface
$matcher Crummy\Phlack\Common\Matcher\MatcherInterface | callable
$priority integer
return self

getConverter() public method

public getConverter ( ) : Crummy\Phlack\WebHook\Converter\ConverterInterface
return Crummy\Phlack\WebHook\Converter\ConverterInterface

setMainframe() public method

public setMainframe ( Mainframe $mainframe ) : self
$mainframe Crummy\Phlack\Bot\Mainframe\Mainframe
return self