Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
zendframework1
library
Zend
Server
Reflection
ReturnValue.php
Go to the documentation of this file.
1
<?php
33
class
Zend_Server_Reflection_ReturnValue
34
{
39
protected
$_type
;
40
45
protected
$_description
;
46
53
public
function
__construct
(
$type
=
'mixed'
,
$description
=
''
)
54
{
55
$this->
setType
(
$type
);
56
$this->
setDescription
(
$description
);
57
}
58
64
public
function
getType
()
65
{
66
return
$this->_type
;
67
}
68
75
public
function
setType
(
$type
)
76
{
77
if
(!is_string(
$type
) && (
null
!==
$type
)) {
78
#require_once 'Zend/Server/Reflection/Exception.php';
79
throw
new
Zend_Server_Reflection_Exception
(
'Invalid parameter type'
);
80
}
81
82
$this->_type =
$type
;
83
}
84
90
public
function
getDescription
()
91
{
92
return
$this->_description
;
93
}
94
101
public
function
setDescription
(
$description
)
102
{
103
if
(!is_string(
$description
) && (
null
!==
$description
)) {
104
#require_once 'Zend/Server/Reflection/Exception.php';
105
throw
new
Zend_Server_Reflection_Exception
(
'Invalid parameter description'
);
106
}
107
108
$this->_description =
$description
;
109
}
110
}
$description
$description
Definition:
pre_composer_update_2.3.php:162
Zend_Server_Reflection_Exception
Definition:
Exception.php:36
Zend_Server_Reflection_ReturnValue
Definition:
ReturnValue.php:33
Zend_Server_Reflection_ReturnValue\$_type
$_type
Definition:
ReturnValue.php:39
Zend_Server_Reflection_ReturnValue\getType
getType()
Definition:
ReturnValue.php:64
$type
$type
Definition:
item.phtml:13
Zend_Server_Reflection_ReturnValue\$_description
$_description
Definition:
ReturnValue.php:45
Zend_Server_Reflection_ReturnValue\setDescription
setDescription($description)
Definition:
ReturnValue.php:101
Zend_Server_Reflection_ReturnValue\__construct
__construct($type='mixed', $description='')
Definition:
ReturnValue.php:53
Zend_Server_Reflection_ReturnValue\getDescription
getDescription()
Definition:
ReturnValue.php:90
Zend_Server_Reflection_ReturnValue\setType
setType($type)
Definition:
ReturnValue.php:75