芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/bit-alphas-ltd.com/user/project/vendor/vonage/client-core/src/SMS/Collection.php
} */ protected $data; /** * @var int */ protected $current = 0; public function __construct(array $apiResponse) { $this->data = $apiResponse; } public function count(): int { return (int)$this->data['message-count']; } #[\ReturnTypeWillChange] public function current(): SentSMS { return new SentSMS($this->data['messages'][$this->current]); } /** * @return bool|float|int|string|null */ #[\ReturnTypeWillChange] public function key() { return $this->current; } public function next(): void { $this->current++; } public function rewind(): void { $this->current = 0; } public function valid(): bool { return isset($this->data['messages'][$this->current]); } }