1171. Class

1171.1. Zend\Server\Method\Callback

Method callback metadata

1171.1.1. Methods

1171.1.1.1. __construct

__construct()

Constructor

Parameters:null|array

1171.1.1.2. setOptions

setOptions()

Set object state from array of options

Parameters:array
Return type:ZendServerMethodCallback

1171.1.1.3. setClass

setClass()

Set callback class

Parameters:string
Return type:ZendServerMethodCallback

1171.1.1.4. getClass

getClass()

Get callback class

Return type:string|null

1171.1.1.5. setFunction

setFunction()

Set callback function

Parameters:string
Return type:ZendServerMethodCallback

1171.1.1.6. getFunction

getFunction()

Get callback function

Return type:null|string

1171.1.1.7. setMethod

setMethod()

Set callback class method

Parameters:string
Return type:ZendServerMethodCallback

1171.1.1.8. getMethod

getMethod()

Get callback class method

Return type:null|string

1171.1.1.9. setType

setType()

Set callback type

Parameters:string
Return type:Callback
Throws :ServerExceptionInvalidArgumentException

1171.1.1.10. getType

getType()

Get callback type

Return type:string

1171.1.1.11. toArray

toArray()

Cast callback to array

Return type:array