diff --git a/src/Model/Kevacoin.php b/src/Model/Kevacoin.php new file mode 100644 index 0000000..636b869 --- /dev/null +++ b/src/Model/Kevacoin.php @@ -0,0 +1,38 @@ +_client = new \Kevachat\Kevacoin\Client( + $scheme, + $host, + $port, + $username, + $password + ); + + // Check namespace given exists + if (!$this->_namespace = $this->_client->kevaFilter($namespace)) + { + throw new \Exception( + _('could not find requested namespace!') + ); + } + } +} \ No newline at end of file