Definition at line 32 of file Definition.php.
◆ __construct()
__construct |
( |
|
$options = null | ) |
|
Constructor
- Parameters
-
- Returns
- void
Definition at line 70 of file Definition.php.
setOptions(array $options)
◆ addPrototype()
addPrototype |
( |
|
$prototype | ) |
|
Add prototype to method definition
- Parameters
-
- Returns
- Zend_Server_Method_Definition
Definition at line 151 of file Definition.php.
153 if (is_array($prototype)) {
154 #require_once 'Zend/Server/Method/Prototype.php'; 157 #require_once 'Zend/Server/Exception.php'; 160 $this->_prototypes[] = $prototype;
elseif(isset( $params[ 'redirect_parent']))
◆ addPrototypes()
addPrototypes |
( |
array |
$prototypes | ) |
|
◆ getCallback()
◆ getInvokeArguments()
Retrieve invoke arguments
- Returns
- array
Definition at line 266 of file Definition.php.
◆ getMethodHelp()
◆ getName()
◆ getObject()
Get object to use with method calls
- Returns
- null|object
Definition at line 244 of file Definition.php.
◆ getPrototypes()
◆ setCallback()
Set method callback
- Parameters
-
- Returns
- Zend_Server_Method_Definition
Definition at line 122 of file Definition.php.
124 if (is_array($callback)) {
125 #require_once 'Zend/Server/Method/Callback.php'; 128 #require_once 'Zend/Server/Exception.php'; 131 $this->_callback = $callback;
elseif(isset( $params[ 'redirect_parent']))
◆ setInvokeArguments()
setInvokeArguments |
( |
array |
$invokeArguments | ) |
|
◆ setMethodHelp()
setMethodHelp |
( |
|
$methodHelp | ) |
|
◆ setName()
◆ setObject()
Set object to use with method calls
- Parameters
-
- Returns
- Zend_Server_Method_Definition
Definition at line 229 of file Definition.php.
231 if (!is_object($object) && (
null !== $object)) {
232 #require_once 'Zend/Server/Exception.php'; 235 $this->_object = $object;
◆ setOptions()
setOptions |
( |
array |
$options | ) |
|
◆ setPrototypes()
setPrototypes |
( |
array |
$prototypes | ) |
|
◆ toArray()
Serialize to array
- Returns
- array
Definition at line 276 of file Definition.php.
279 $signatures = array();
280 foreach ($prototypes as $prototype) {
281 $signatures[] = $prototype->toArray();
287 'prototypes' => $signatures,
◆ $_callback
◆ $_invokeArguments
$_invokeArguments = array() |
|
protected |
◆ $_methodHelp
◆ $_name
◆ $_object
◆ $_prototypes
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/Server/Method/Definition.php