From b82f2c74d1fdb0e0aaaa4c93a2a904e376b310a2 Mon Sep 17 00:00:00 2001 From: Fbenas Date: Sun, 7 Jun 2020 02:59:59 +0100 Subject: First pass at a php IRC helperfor I/O handling --- src/Command.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/Command.php (limited to 'src/Command.php') diff --git a/src/Command.php b/src/Command.php new file mode 100644 index 0000000..6fb3770 --- /dev/null +++ b/src/Command.php @@ -0,0 +1,21 @@ +execute_callback, $input, $output); + } + + public function setExecuteCallback(Closure $callable) + { + $this->execute_callback = $callable; + } +} -- cgit v1.2.3