# sequra/3.0.0/src/Services/Assets/class-assets.php

seQura, version 3.0.0. 21 lines.

- Page: https://pluginprobe.com/plugins/sequra/3.0.0/code/src/Services/Assets/class-assets.php
- Raw: https://pluginprobe.com/plugins/sequra/3.0.0/raw/src/Services/Assets/class-assets.php
- Modified: 2024-10-29T15:19:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/sequra/3.0.0/code/src/Services/Assets/class-assets.php#L10-L20`.

```php
<?php
/**
 * Implements the Assets service.
 *
 * @package    SeQura/WC
 * @subpackage SeQura/WC/Services
 */
namespace SeQura\WC\Services\Assets;

/**
 * Assets
*/
class Assets implements Interface_Assets {
	/**
	 * Get the URI of a resource in the CDN. If the environment is not set, it returns an empty string.
	*/
	public function get_cdn_resource_uri( ?string $env, string $resource ): string {
		return !$env ? '' : "https://{$env}.sequracdn.com/assets/{$resource}";
	}
 }
 
```
