Lines Matching refs:name
8 public function offsetExists($name): bool {
9 echo "offsetExists($name)\n";
10 return array_key_exists($name, $this->data);
12 public function &offsetGet($name): mixed {
13 echo "offsetGet($name)\n";
14 if (!array_key_exists($name, $this->data)) {
17 return $this->data[$name];
19 public function offsetSet($name, $value): void {
20 echo "offsetSet($name)\n";
21 $this->data[$name] = $value;
23 public function offsetUnset($name): void {
24 echo "offsetUnset($name)\n";
25 unset($this->data[$name]);