diff --git a/changelog.md b/changelog.md index dfbd7eb..b9ab699 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +# v6.0.2 + +* An extension point has been added for flexibility + # v6.0.0 Since phpcent v6.0.0 we do not maintain CHANGELOG.md file. diff --git a/src/Client.php b/src/Client.php index 3c0cd6c..94f5eec 100644 --- a/src/Client.php +++ b/src/Client.php @@ -9,7 +9,7 @@ * @copyright Copyright (c) 2019 Centrifugal * @license The MIT License (MIT) */ -class Client +class Client implements ClientInterface { private $url; private $apikey; @@ -273,7 +273,7 @@ public function historyRemove($channel) /** * Get all active channels. - * + * * @param string $pattern (optional) * @return mixed */ diff --git a/src/ClientInterface.php b/src/ClientInterface.php new file mode 100644 index 0000000..d16cfab --- /dev/null +++ b/src/ClientInterface.php @@ -0,0 +1,151 @@ +