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
Clinner
Command
Command
setOption
Clinner\Command\Command::setOption PHP Method
Command Class Documentation
Show file
Open project: ncuesta/clinner
setOption()
public
method
Set a single option for this command.
public
setOption
(
string
$name
,
mixed
$value
) :
Command
$name
string
Name of the option to set.
$value
mixed
Value for that option.
return
Command
This instance, for a fluent API.
public function setOption($name, $value) { $this->_options->set($name, $value); return $this; }
Command
__construct
__toString
_run
create
fromString
getArguments
getErrorOutput
getExitCode
getName
getOption
getOptions
getOutput
getOutputAsArray
getPipedCommand
hasPipedCommand
parse
pipe
run
setArguments
setName
setOption
setOptions
toCommandString