src/MediaServices/MediaServicesRestProxy.php
public function getChannel($channel)
    {
        $channelId = Utilities::getEntityId(
            $channel,
            'WindowsAzure\MediaServices\Models\Channel'
        );

        return Channel::createFromOptions($this->_getEntity("Channels('{$channelId}')"));
    }
public function getChannel($channel)
    {
        $channelId = Utilities::getEntityId(
            $channel,
            'WindowsAzure\MediaServices\Models\Channel'
        );

        return Channel::createFromOptions($this->_getEntity("Channels('{$channelId}')"));
    }
public function getChannel ( $ channel ) { $ channelId = Utilities :: getEntityId ( $ channel , 'WindowsAzure\MediaServices\Models\Channel' ) ; return Channel :: createFromOptions ( $ this -> _getEntity ( "Channels('{$channelId}')" ) ) ; }
Get existing channel.

@param Channel|string $channel Channel data

@return Channel Created Channel
Get existing channel .