1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2026-03-27 22:40:08 +01:00
Files
app/phpmon/Container/Container+Real.swift
Nico Verbruggen c16fd1589f ♻️ Add optional command tracking for container
- This allows existing unit tests to work
- But we can also test command tracking in the future
2026-02-24 16:39:40 +01:00

16 lines
420 B
Swift

//
// Container+Real.swift
// PHP Monitor
//
// Created by Nico Verbruggen on 16/10/2025.
// Copyright © 2025 Nico Verbruggen. All rights reserved.
//
extension Container {
public static func real(minimal: Bool = false, commandTracking: Bool = true) -> Container {
let container = Container()
container.bind(coreOnly: minimal, commandTracking: commandTracking)
return container
}
}