| 1 |
<?php |
| 2 |
/** |
| 3 |
* The cache delivery writer interface to write to different cache delivery config files. |
| 4 |
* |
| 5 |
* @package SolidWP\Performance |
| 6 |
*/ |
| 7 |
|
| 8 |
declare( strict_types=1 ); |
| 9 |
|
| 10 |
namespace SolidWP\Performance\Cache_Delivery\Contracts; |
| 11 |
|
| 12 |
/** |
| 13 |
* @internal |
| 14 |
*/ |
| 15 |
interface Writable { |
| 16 |
|
| 17 |
/** |
| 18 |
* Write to the cache delivery configuration file. |
| 19 |
* |
| 20 |
* @param string $content The content to save to the file. |
| 21 |
* |
| 22 |
* @return bool |
| 23 |
*/ |
| 24 |
public function write( string $content ): bool; |
| 25 |
} |
| 26 |
|