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
Eloquent
Phony
Spy
ArraySpy
offsetSet
Eloquent\Phony\Spy\ArraySpy::offsetSet PHP Method
ArraySpy Class Documentation
Show file
Open project: eloquent/phony
offsetSet()
public
method
Set a value.
public
offsetSet
(
mixed
$key
,
mixed
$value
)
$key
mixed
The key.
$value
mixed
The value.
public function offsetSet($key, $value) { $this->array[$key] = $value; }
ArraySpy
__construct
count
current
iterable
key
next
offsetExists
offsetGet
offsetSet
offsetUnset
rewind
valid