Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Kraken
Container
ServiceProvider
unregister
Kraken\Container\ServiceProvider::unregister PHP Method
ServiceProvider Class Documentation
Show file
Open project: kraken-php/framework
unregister()
protected
method
This method should contain code to fire when Provider is being unregistered. All previously opened connectios, streams, files and other vulnerable resources opened in ::register() should be closed here.
protected
unregister
(
ContainerInterface
$container
)
$container
ContainerInterface
protected function unregister(ContainerInterface $container) { }
ServiceProvider
boot
bootProvider
getProvides
getRequires
isBooted
isRegistered
register
registerProvider
throwException
unregister
unregisterProvider