__construct() public method

public __construct ( Crummy\Phlack\Common\Matcher\MatcherInterface $matcher = null, array | Crummy\Phlack\Common\Responder\ResponderInterface $options = [] )
$matcher Crummy\Phlack\Common\Matcher\MatcherInterface
$options array | Crummy\Phlack\Common\Responder\ResponderInterface
Beispiel #1
0
 /**
  * @param string             $commandName
  * @param ExpressionLanguage $language
  */
 public function __construct($commandName = '/expr', ExpressionLanguage $language = null)
 {
     $this->language = $language ?: new ExpressionLanguage();
     parent::__construct(new CommandMatcher($commandName));
 }