src/MediaServices/MediaServicesRestProxy.php
public function getAssetFile($assetFile)
    {
        $assetFileId = Utilities::getEntityId(
            $assetFile,
            'WindowsAzure\MediaServices\Models\AssetFile'
        );

        return AssetFile::createFromOptions(
            $this->_getEntity("Files('{$assetFileId}')")
        );
    }
public function getAssetFile($assetFile)
    {
        $assetFileId = Utilities::getEntityId(
            $assetFile,
            'WindowsAzure\MediaServices\Models\AssetFile'
        );

        return AssetFile::createFromOptions(
            $this->_getEntity("Files('{$assetFileId}')")
        );
    }
public function getAssetFile ( $ assetFile ) { $ assetFileId = Utilities :: getEntityId ( $ assetFile , 'WindowsAzure\MediaServices\Models\AssetFile' ) ; return AssetFile :: createFromOptions ( $ this -> _getEntity ( "Files('{$assetFileId}')" ) ) ; }
Get asset file.

@param AssetFile|string $assetFile AssetFile data or assetFile Id

@return AssetFile
Get asset file .