| 1 | <?php |
||
| 11 | class ApplicationInformationService |
||
| 12 | { |
||
| 13 | private const CACHE_KEY = 'latestKoelVersion'; |
||
| 14 | |||
| 15 | private $client; |
||
| 16 | private $cache; |
||
| 17 | private $logger; |
||
| 18 | |||
| 19 | public function __construct(Client $client, Cache $cache, Logger $logger) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Get the latest version number of Koel from GitHub. |
||
| 28 | */ |
||
| 29 | public function getLatestVersionNumber(): string |
||
| 43 | } |
||
| 44 |