Zend\Server\Method\Callback
Method callback metadata
Synopsis
class Callback
{
- // members
- protected string $class;
- protected string $function;
- protected string $method;
- protected string $type;
- protected array $types;
- // methods
- public void __construct()
- public Callback setOptions()
- public Callback setClass()
- public string|null getClass()
- public Callback setFunction()
- public null|string getFunction()
- public Callback setMethod()
- public null|string getMethod()
- public Callback setType()
- public string getType()
- public array toArray()
Members
protected
- $class — string
- $function — string
- $method — string
- $type — string
- $types — array
Methods
public
- __construct() — Constructor
- getClass() — Get callback class
- getFunction() — Get callback function
- getMethod() — Get callback class method
- getType() — Get callback type
- setClass() — Set callback class
- setFunction() — Set callback function
- setMethod() — Set callback class method
- setOptions() — Set object state from array of options
- setType() — Set callback type
- toArray() — Cast callback to array