Definition at line 32 of file Callback.php.
◆ __construct()
__construct |
( |
|
$options = null | ) |
|
Constructor
- Parameters
-
- Returns
- void
Definition at line 65 of file Callback.php.
setOptions(array $options)
◆ getClass()
Get callback class
- Returns
- string|null
Definition at line 109 of file Callback.php.
◆ getFunction()
Get callback function
- Returns
- null|string
Definition at line 132 of file Callback.php.
◆ getMethod()
Get callback class method
- Returns
- null|string
Definition at line 154 of file Callback.php.
◆ getType()
Get callback type
- Returns
- string
Definition at line 181 of file Callback.php.
◆ setClass()
◆ setFunction()
◆ setMethod()
◆ setOptions()
setOptions |
( |
array |
$options | ) |
|
◆ setType()
◆ toArray()
Cast callback to array
- Returns
- array
Definition at line 191 of file Callback.php.
197 if (
'function' ==
$type) {
200 $array[
'class'] = $this->
getClass();
◆ $_class
◆ $_function
◆ $_method
◆ $_type
◆ $_types
$_types = array('function', 'static', 'instance') |
|
protected |
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/Server/Method/Callback.php