vBulletin 5.6.5 API

vB_Shutdown
in package
Uses vB_Trait_NoSerialize

Class to handle shutdown

Tags
version

$Revision: 99787 $

author

vBulletin Development Team

date

$Date: 2018-10-24 17:13:06 -0700 (Wed, 24 Oct 2018) $

Table of Contents

$callbacks  : mixed
An array of shutdown callbacks to call on shutdown
$called  : mixed
$instance  : vB_Cache_Observer
A reference to the singleton instance
__serialize()  : mixed
__sleep()  : mixed
__unserialize()  : mixed
__wakeup()  : mixed
add()  : mixed
Add callback to be executed at shutdown
instance()  : vB_Shutdown
Returns singleton instance of self.
setCalled()  : mixed
shutdown()  : mixed
__construct()  : mixed
Constructor protected to enforce singleton use.

Properties

$callbacks

An array of shutdown callbacks to call on shutdown

protected mixed $callbacks

$instance

A reference to the singleton instance

protected static vB_Cache_Observer $instance

Methods

__serialize()

public __serialize() : mixed
Return values
mixed

__sleep()

public __sleep() : mixed
Return values
mixed

__unserialize()

public __unserialize(mixed $serialized) : mixed
Parameters
$serialized : mixed
Return values
mixed

__wakeup()

public __wakeup() : mixed
Return values
mixed

add()

Add callback to be executed at shutdown

public add(array<string|int, mixed> $callback) : mixed
Parameters
$callback : array<string|int, mixed>
  • Call back to call on shutdown
Return values
mixed

setCalled()

public setCalled() : mixed
Return values
mixed

shutdown()

public shutdown() : mixed
Return values
mixed

__construct()

Constructor protected to enforce singleton use.

protected __construct() : mixed
Tags
see
instance()
Return values
mixed

Search results