mimmi20/macos-build

View on GitHub
src/MacosBuildInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php
/**
 * This file is part of the macos-build package.
 *
 * Copyright (c) 2019-2024, Thomas Mueller <mimmi20@live.de>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

declare(strict_types = 1);

namespace MacosBuild;

use MacosBuild\Exception\NotFoundException;

interface MacosBuildInterface
{
    /**
     * Takes iOS build code and returns corresponding iOS version.
     *
     * @param string $buildCode the build code
     *
     * @throws NotFoundException
     */
    public function getVersion(string $buildCode): string;
}