PHP Classes

File: tests/BotManTest.php

Recommend this page to a friend!
  Classes of Marcel Pociot   BotMan   tests/BotManTest.php  
File: tests/BotManTest.php
Role: Class source
Content type: text/plain
Description: Class source
Class: BotMan
A framework agnostic PHP library to build chat bot
Author: By
Last change: Support for Laravel 6 (#1190)

* allow tightenco/collect~6.0

* Update tests to support updated phpunit.

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* Add workflow for Laravel 6

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* Split laravel 5.4 tests.

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* Use custom name.

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

Co-authored-by: Brian Faust <faustbrian@users.noreply.github.com>
PHP 7.4 doesn't seem to be able to handle following structure.
Allow BotMan to hear from an array of commands (#855)

* Allow BotMan to register the same callback to multiple events.

* Allow BotMan to hear from an array of commands

If the $pattern parameter is an array, implode it using the pipe character
Also improved getBot method on tests to send 2 messages at the same time.

* Reset the group matching to prevent losing the parameters on callback
Allow any callable as a callback (#1102)

Date: 3 years ago
Size: 73,123 bytes

You need to be a registered user and login to get this file.

Login Immediately with your account on: