# solid-performance/1.4.0/src/Performance/Storage/Provider.php

Solid Performance – Your No-Code Caching, Performance, &amp; Page Speed Solution, version 1.4.0. 30 lines.

- Page: https://pluginprobe.com/plugins/solid-performance/1.4.0/code/src/Performance/Storage/Provider.php
- Raw: https://pluginprobe.com/plugins/solid-performance/1.4.0/raw/src/Performance/Storage/Provider.php
- Modified: 2025-02-12T22:54:40+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/solid-performance/1.4.0/code/src/Performance/Storage/Provider.php#L10-L20`.

```php
<?php
/**
 * Register Storage related definitions in the container.
 *
 * @package SolidWP\Performance
 */

declare( strict_types=1 );

namespace SolidWP\Performance\Storage;

use SolidWP\Performance\Contracts\Service_Provider;
use SolidWP\Performance\Storage\Contracts\Storage;
use SolidWP\Performance\Storage\Drivers\Option_Storage;

/**
 * Register Storage related definitions in the container.
 *
 * @package SolidWP\Performance
 */
final class Provider extends Service_Provider {

	/**
	 * @inheritDoc
	 */
	public function register(): void {
		$this->container->singleton( Storage::class, fn(): Storage => $this->container->get( Option_Storage::class ) );
	}
}

```
