PHP 클래스 Crummy\Phlack\Bridge\Symfony\Console\BotCommand

상속: extends Symfony\Component\Console\Command\Command, implements Crummy\Phlack\Bot\Mainframe\Adapter\AdapterInterface
파일 보기 프로젝트 열기: mcrumm/phlack

공개 메소드들

메소드 설명
__construct ( ConsoleAdapter $adapter, string $name = 'bot_command' )
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

보호된 메소드들

메소드 설명
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

메소드 상세

__construct() 공개 메소드

public __construct ( ConsoleAdapter $adapter, string $name = 'bot_command' )
$adapter ConsoleAdapter
$name string

attach() 공개 메소드

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
리턴 self

execute() 보호된 메소드

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

getConverter() 공개 메소드

public getConverter ( ) : Crummy\Phlack\WebHook\Converter\ConverterInterface
리턴 Crummy\Phlack\WebHook\Converter\ConverterInterface

setMainframe() 공개 메소드

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