src/Pushman.php
public function channels()
    {
        $url = $this->getURL('channels');

        $headers = [
            'body' => [
                'private' => $this->privateKey
            ]
        ];

        $response = $this->processRequest($url, $headers, 'get');

        return $response;
    }
public function channels()
    {
        $url = $this->getURL('channels');

        $headers = [
            'body' => [
                'private' => $this->privateKey
            ]
        ];

        $response = $this->processRequest($url, $headers, 'get');

        return $response;
    }
public function channels ( ) { $ url = $ this -> getURL ( 'channels' ) ; $ headers = [ 'body' => [ 'private' => $ this -> privateKey ] ] ; $ response = $ this -> processRequest ( $ url , $ headers , 'get' ) ; return $ response ; }
Get an array of channels in the site.
Get an array of channels in the site .