store->read(); } public function rev(array $raw): string { return Rev::of(((string) ($raw['stylesheet'] ?? '')) . "\0" . ((string) ($raw['css'] ?? ''))); } /** $mayRemove has no effect: the text is replaced as a whole. */ public function write(array $raw, bool $mayRemove): array { $this->store->write((string) ($raw['css'] ?? '')); return $this->store->read(); } public function restore(array $raw): array { return $this->write($raw, true); } public function verify(array $expected, array $actual): bool { return (string) ($expected['css'] ?? '') === (string) ($actual['css'] ?? ''); } public function differences(array $expected, array $actual): array { return []; } }