src/MediaServices/MediaServicesRestProxy.php
public function getLocatorAsset($locator)
    {
        $locatorId = Utilities::getEntityId(
            $locator,
            'WindowsAzure\MediaServices\Models\Locator'
        );

        return Asset::createFromOptions(
            $this->_getEntity("Locators('{$locatorId}')/Asset")
        );
    }
public function getLocatorAsset($locator)
    {
        $locatorId = Utilities::getEntityId(
            $locator,
            'WindowsAzure\MediaServices\Models\Locator'
        );

        return Asset::createFromOptions(
            $this->_getEntity("Locators('{$locatorId}')/Asset")
        );
    }
public function getLocatorAsset ( $ locator ) { $ locatorId = Utilities :: getEntityId ( $ locator , 'WindowsAzure\MediaServices\Models\Locator' ) ; return Asset :: createFromOptions ( $ this -> _getEntity ( "Locators('{$locatorId}')/Asset" ) ) ; }
Get Locator asset.

@param Locator|string $locator Locator data or locator Id

@return Asset
Get Locator asset .