\Zend_Server_Method_Callback

Method callback metadata

Summary

Methods
Properties
Constants
__construct()
setOptions()
setClass()
getClass()
setFunction()
getFunction()
setMethod()
getMethod()
setType()
getType()
toArray()
No public properties found
No constants found
No protected methods found
$_class
$_function
$_method
$_type
$_types
N/A
No private methods found
No private properties found
N/A

Properties

$_class

$_class : string

Type

string — Class name for class method callback

$_function

$_function : string

Type

string — Function name for function callback

$_method

$_method : string

Type

string — Method name for class method callback

$_type

$_type : string

Type

string — Callback type

$_types

$_types : array

Type

array — Valid callback types

Methods

__construct()

__construct(null|array  $options = null) : void

Constructor

Parameters

null|array $options

setOptions()

setOptions(array  $options) : \Zend_Server_Method_Callback

Set object state from array of options

Parameters

array $options

Returns

\Zend_Server_Method_Callback

setClass()

setClass(string  $class) : \Zend_Server_Method_Callback

Set callback class

Parameters

string $class

Returns

\Zend_Server_Method_Callback

getClass()

getClass() : string|null

Get callback class

Returns

string|null

setFunction()

setFunction(string  $function) : \Zend_Server_Method_Callback

Set callback function

Parameters

string $function

Returns

\Zend_Server_Method_Callback

getFunction()

getFunction() : null|string

Get callback function

Returns

null|string

setMethod()

setMethod(string  $method) : \Zend_Server_Method_Callback

Set callback class method

Parameters

string $method

Returns

\Zend_Server_Method_Callback

getMethod()

getMethod() : null|string

Get callback class method

Returns

null|string

setType()

setType(string  $type) : \Zend_Server_Method_Callback

Set callback type

Parameters

string $type

Throws

\Zend_Server_Exception

Returns

\Zend_Server_Method_Callback

getType()

getType() : string

Get callback type

Returns

string

toArray()

toArray() : array

Cast callback to array

Returns

array