From b0fc7d5ff860f383bc2e690e2f13bdc838ddb863 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 18 Jul 2020 17:04:51 +0400 Subject: Added example of get channels Signed-off-by: Valentin Popov --- examples/get-channels.php | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 examples/get-channels.php (limited to 'examples/get-channels.php') diff --git a/examples/get-channels.php b/examples/get-channels.php new file mode 100644 index 0000000..645eb96 --- /dev/null +++ b/examples/get-channels.php @@ -0,0 +1,33 @@ +getChannels(); + +# Or using repository +$repository = ChannelRepository::create($environment); +$channels = $repository->get(); -- cgit v1.2.3