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\Core\Installer\Service;
8
9defined('AMMONLY_APP') || exit('Direct script access is forbidden.');
10
11use App\Core\Installer\Dto\InstallerInputDto;
12
13/**
14 * Interface defining system database and platform installer operations.
15 *
16 * @package App\Core\Installer\Service
17 */
18interface SystemInstallerServiceInterface
19{
20    /**
21     * Executes end-to-end installation procedure.
22     *
23     * @param InstallerInputDto $input Installation configuration parameters.
24     * @param callable|null $progressCallback Optional callback for reporting step progress.
25     * @return array{success: bool, version: string, db_name: string, profile: string}
26     */
27    public function install(InstallerInputDto $input, ?callable $progressCallback = null): array;
28}