Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
GetOptionKit
Option
optional
GetOptionKit\Option::optional PHP Method
Option Class Documentation
Show file
Open project: c9s/getoptionkit
optional()
public
method
public
optional
( )
public function optional() { $this->optional = true; return $this; }
Option
__construct
__toString
_preprocessValue
callTrigger
defaultValue
desc
filter
flag
getId
getSuggestions
getTypeClass
getValidValues
getValue
increaseValue
incremental
initFromSpecString
isFlag
isIncremental
isMultiple
isOptional
isRequired
isType
isTypeNumber
isa
multiple
optional
pushValue
renderReadableSpec
renderValueHint
required
setValue
suggestions
testValue
trigger
validValues
validate
validator
valueName