diff --git a/README.md b/README.md index 2939acf..4040e91 100644 --- a/README.md +++ b/README.md @@ -43,18 +43,18 @@ Currently not documented, please visit src/Client.php for details * newPostMessage * newRetwistMessage -### RSS +### Tools -Useful to create twister news bot +#### RSS -#### Methods +Useful to create twister news bot ##### Feed Read remote URL and convert response to formatted twister messages ``` -$array = \Twisterarmy\Twister\Rss::feed('url'); +$array = \Twisterarmy\Twister\Tools\Rss::feed('url'); ``` ###### Request diff --git a/src/Rss.php b/src/Tools/Rss.php similarity index 98% rename from src/Rss.php rename to src/Tools/Rss.php index 57e2a5e..915fb1f 100644 --- a/src/Rss.php +++ b/src/Tools/Rss.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Twisterarmy\Twister; +namespace Twisterarmy\Twister\Tools; class Rss {