Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5/** @license For full copyright and license information, please see the LICENSE.md file. */
6
7namespace App\Modules\Currencies\Application\Service;
8
9defined('AMMONLY_APP') || exit('Direct script access is forbidden.');
10
11/**
12 * Contract for currency exchange rates synchronization services.
13 */
14interface CurrencySyncServiceInterface
15{
16    /**
17     * Synchronizes current exchange rates with external provider.
18     *
19     * @return array{
20     *     table: string,
21     *     effective_date: string,
22     *     updated_count: int,
23     *     updated_codes: list<string>
24     * }
25     */
26    public function syncRates(): array;
27}