ShutdownInterface
extends
ResetInterface
in
Resets an object and optionally releases its resources.
When $shutdown is false, the object must remain usable, as required by ResetInterface. When $shutdown is true, the object won't be used again. Implementations can then close resources and break circular references.
Table of Contents
Methods
- reset() : void
Methods
reset()
public
reset([bool $shutdown = false ]) : void
Parameters
- $shutdown : bool = false