src/MediaServices/MediaServicesRestProxy.php
public function getProgram($program)
    {
        $programId = Utilities::getEntityId(
            $program,
            'WindowsAzure\MediaServices\Models\Program'
        );

        return Program::createFromOptions($this->_getEntity("Programs('{$programId}')"));
    }
public function getProgram($program)
    {
        $programId = Utilities::getEntityId(
            $program,
            'WindowsAzure\MediaServices\Models\Program'
        );

        return Program::createFromOptions($this->_getEntity("Programs('{$programId}')"));
    }
public function getProgram ( $ program ) { $ programId = Utilities :: getEntityId ( $ program , 'WindowsAzure\MediaServices\Models\Program' ) ; return Program :: createFromOptions ( $ this -> _getEntity ( "Programs('{$programId}')" ) ) ; }
Get existing program.

@param Program|string $program Program data

@return Program Created Program
Get existing program .