vBulletin v6.0.4

vB_Shutdown
in package
Uses vB_Trait_NoSerialize

Class to handle shutdown

Table of Contents

Methods

__serialize()  : array<string|int, mixed>
__sleep()  : array<string|int, mixed>
__unserialize()  : void
__wakeup()  : void
add()  : void
Add callback to be executed at shutdown
instance()  : vB_Shutdown
Returns singleton instance of self.
setCalled()  : void
shutdown()  : mixed

Methods

__serialize()

public __serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

__sleep()

public __sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>

__unserialize()

public __unserialize(array<string|int, mixed> $serialized) : void
Parameters
$serialized : array<string|int, mixed>

add()

Add callback to be executed at shutdown

public add(callable $callback) : void
Parameters
$callback : callable
  • Call back to call on shutdown

        
On this page

Search results