Verzeichnisstruktur phpBB-3.2.0
- Veröffentlicht
- 06.01.2017
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
CompletedFutureArray.php
01 <?php
02 namespace GuzzleHttp\Ring\Future;
03
04 /**
05 * Represents a future array that has been completed successfully.
06 */
07 class CompletedFutureArray extends CompletedFutureValue implements FutureArrayInterface
08 {
09 public function __construct(array $result)
10 {
11 parent::__construct($result);
12 }
13
14 public function offsetExists($offset)
15 {
16 return isset($this->result[$offset]);
17 }
18
19 public function offsetGet($offset)
20 {
21 return $this->result[$offset];
22 }
23
24 public function offsetSet($offset, $value)
25 {
26 $this->result[$offset] = $value;
27 }
28
29 public function offsetUnset($offset)
30 {
31 unset($this->result[$offset]);
32 }
33
34 public function count()
35 {
36 return count($this->result);
37 }
38
39 public function getIterator()
40 {
41 return new \ArrayIterator($this->result);
42 }
43 }
44