src/MediaServices/MediaServicesRestProxy.php
public function getAsset($asset)
    {
        $assetId = Utilities::getEntityId(
            $asset,
            'WindowsAzure\MediaServices\Models\Asset'
        );

        return Asset::createFromOptions($this->_getEntity("Assets('{$assetId}')"));
    }
public function getAsset($asset)
    {
        $assetId = Utilities::getEntityId(
            $asset,
            'WindowsAzure\MediaServices\Models\Asset'
        );

        return Asset::createFromOptions($this->_getEntity("Assets('{$assetId}')"));
    }
public function getAsset ( $ asset ) { $ assetId = Utilities :: getEntityId ( $ asset , 'WindowsAzure\MediaServices\Models\Asset' ) ; return Asset :: createFromOptions ( $ this -> _getEntity ( "Assets('{$assetId}')" ) ) ; }
Get asset.

@param Asset|string $asset Asset data or asset Id

@return Asset
Get asset .