123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- <?php
- /** @generate-class-entries */
- class SplDoublyLinkedList implements Iterator, Countable, ArrayAccess, Serializable
- {
- /** @tentative-return-type */
- public function add(int $index, mixed $value): void {}
- /** @tentative-return-type */
- public function pop(): mixed {}
- /** @tentative-return-type */
- public function shift(): mixed {}
- /** @tentative-return-type */
- public function push(mixed $value): void {}
- /** @tentative-return-type */
- public function unshift(mixed $value): void {}
- /** @tentative-return-type */
- public function top(): mixed {}
- /** @tentative-return-type */
- public function bottom(): mixed {}
- /** @tentative-return-type */
- public function __debugInfo(): array {}
- /** @tentative-return-type */
- public function count(): int {}
- /** @tentative-return-type */
- public function isEmpty(): bool {}
- /** @tentative-return-type */
- public function setIteratorMode(int $mode): int {}
- /** @tentative-return-type */
- public function getIteratorMode(): int {}
- /**
- * @param int $index
- * @tentative-return-type
- */
- public function offsetExists($index): bool {}
- /**
- * @param int $index
- * @tentative-return-type
- */
- public function offsetGet($index): mixed {}
- /**
- * @param int|null $index
- * @tentative-return-type
- */
- public function offsetSet($index, mixed $value): void {}
- /**
- * @param int $index
- * @tentative-return-type
- */
- public function offsetUnset($index): void {}
- /** @tentative-return-type */
- public function rewind(): void {}
- /** @tentative-return-type */
- public function current(): mixed {}
- /** @tentative-return-type */
- public function key(): int {}
- /** @tentative-return-type */
- public function prev(): void {}
- /** @tentative-return-type */
- public function next(): void {}
- /** @tentative-return-type */
- public function valid(): bool {}
- /** @tentative-return-type */
- public function unserialize(string $data): void {}
- /** @tentative-return-type */
- public function serialize(): string {}
- /** @tentative-return-type */
- public function __serialize(): array {}
- /** @tentative-return-type */
- public function __unserialize(array $data): void {}
- }
- class SplQueue extends SplDoublyLinkedList
- {
- /**
- * @tentative-return-type
- * @implementation-alias SplDoublyLinkedList::push
- */
- public function enqueue(mixed $value): void {}
- /**
- * @tentative-return-type
- * @implementation-alias SplDoublyLinkedList::shift
- */
- public function dequeue(): mixed {}
- }
- class SplStack extends SplDoublyLinkedList
- {
- }
|