Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
gossi
codegen
model
RoutineInterface
addSimpleParameter
gossi\codegen\model\RoutineInterface::addSimpleParameter PHP 메소드
RoutineInterface 0 문서
파일 보기
프로젝트 열기: gossi/php-code-generator
addSimpleParameter()
공개
메소드
A quick way to add a parameter which is created from the given parameters
public
addSimpleParameter
(
string
$name
,
null
|
string
$type
= null,
mixed
$defaultValue
= null )
$name
string
$type
null
|
string
$defaultValue
mixed
omit the argument to define no default value
public function addSimpleParameter($name, $type = null, $defaultValue = null);
RoutineInterface
addParameter
addSimpleDescParameter
addSimpleParameter
getBody
getParameter
getParameters
hasParameter
isReferenceReturned
removeParameter
replaceParameter
setBody
setParameters
setReferenceReturned