1
0

adding kirby3-janitor

This commit is contained in:
Philip Wagner
2024-10-14 14:22:24 +02:00
parent b0db09492d
commit 94fbb996f0
204 changed files with 27855 additions and 4 deletions

View File

@@ -0,0 +1,18 @@
<?php
declare(strict_types=1);
namespace Bnomei;
final class FlushPagesCacheJob extends JanitorJob
{
/**
* @return array
*/
public function job(): array
{
return [
'status' => kirby()->cache('pages')->flush() ? 200 : 404,
];
}
}