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

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

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

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

@return Locator
Get Locator .