# solid-performance/1.9.0/src/Performance/Cache_Delivery/Contracts/Readable.php

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

- Page: https://pluginprobe.com/plugins/solid-performance/1.9.0/code/src/Performance/Cache_Delivery/Contracts/Readable.php
- Raw: https://pluginprobe.com/plugins/solid-performance/1.9.0/raw/src/Performance/Cache_Delivery/Contracts/Readable.php
- Modified: 2025-05-09T15:04:50+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.9.0/code/src/Performance/Cache_Delivery/Contracts/Readable.php#L10-L20`.

```php
<?php
/**
 * The cache delivery reader interface to read different cache delivery config files.
 *
 * @package SolidWP\Performance
 */

declare( strict_types=1 );

namespace SolidWP\Performance\Cache_Delivery\Contracts;

use SolidWP\Performance\Cache_Delivery\Exceptions\CacheDeliveryReadException;

/**
 * @internal
 */
interface Readable {

	/**
	 * Acquire a read lock and read the contents of a cache delivery file.
	 *
	 * @throws CacheDeliveryReadException When we are unable to open or lock a cache delivery file for reading.
	 *
	 * @return string
	 */
	public function read(): string;
}

```
