mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-09 04:42:59 +02:00
♻️ Refactor PhpSwitcher into PhpEnv
This commit is contained in:
15
phpmon-common/PHP/Switcher/PhpSwitcher.swift
Normal file
15
phpmon-common/PHP/Switcher/PhpSwitcher.swift
Normal file
@@ -0,0 +1,15 @@
|
||||
//
|
||||
// PhpVersionSwitchContract.swift
|
||||
// PHP Monitor
|
||||
//
|
||||
// Created by Nico Verbruggen on 24/12/2021.
|
||||
// Copyright © 2021 Nico Verbruggen. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
protocol PhpSwitcher {
|
||||
|
||||
func performSwitch(to version: String, completion: @escaping () -> Void)
|
||||
|
||||
}
|
Reference in New Issue
Block a user