fiber\register()
Offer an adapter as a candidate (called by adapter packages).
function fiber\register(callable $factory, string $package): void
Behaviour
Called by adapter packages from their Composer files entry; application code does not call it. Nothing is instantiated. On first use a single candidate is instantiated through $factory; two or more make adapter() throw NotConfiguredException naming the packages. $package is the Composer package name, used in messages.