src/Pushman.php
public function channel($channel)
    {
        $channel = $this->validateChannel($channel, false);

        $url = $this->getURL('channel');

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

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

        return $response;
    }
public function channel($channel)
    {
        $channel = $this->validateChannel($channel, false);

        $url = $this->getURL('channel');

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

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

        return $response;
    }
public function channel ( $ channel ) { $ channel = $ this -> validateChannel ( $ channel , false ) ; $ url = $ this -> getURL ( 'channel' ) ; $ headers = [ 'body' => [ 'private' => $ this -> privateKey , 'channel' => $ channel ] ] ; $ response = $ this -> processRequest ( $ url , $ headers , 'get' ) ; return $ response ; }
Get information on a single channel.

@param $channel
@return string
@throws \Pushman\PHPLib\Exceptions\InvalidChannelException
Get information on a single channel .