src/Protocol/Http/UriFactory/UriFactory.php
public function create(DeviceToken $deviceToken, bool $sandbox): string
    {
        $uri = 'https://api.push.apple.com/3/device/%s';

        if ($sandbox) {
            $uri = 'https://api.development.push.apple.com/3/device/%s';
        }

        return sprintf($uri, $deviceToken);
    }
public function create(DeviceToken $deviceToken, bool $sandbox): string
    {
        $uri = 'https://api.push.apple.com/3/device/%s';

        if ($sandbox) {
            $uri = 'https://api.development.push.apple.com/3/device/%s';
        }

        return sprintf($uri, $deviceToken);
    }
Create URI for device

@param DeviceToken $deviceToken
@param bool        $sandbox

@return string