php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
SplQueue Class Reference
Inheritance diagram for SplQueue:
SplDoublyLinkedList Iterator Countable ArrayAccess Serializable Traversable

Public Member Functions

 enqueue (mixed $value)
 
 dequeue ()
 
- Public Member Functions inherited from SplDoublyLinkedList
 add (int $index, mixed $value)
 
 pop ()
 
 shift ()
 
 push (mixed $value)
 
 unshift (mixed $value)
 
 top ()
 
 bottom ()
 
 __debugInfo ()
 
 count ()
 
 isEmpty ()
 
 setIteratorMode (int $mode)
 
 getIteratorMode ()
 
 offsetExists ($index)
 
 offsetGet ($index)
 
 offsetSet ($index, mixed $value)
 
 offsetUnset ($index)
 
 rewind ()
 
 current ()
 
 key ()
 
 prev ()
 
 next ()
 
 valid ()
 
 unserialize (string $data)
 
 serialize ()
 
 __serialize ()
 
 __unserialize (array $data)
 
- Public Member Functions inherited from ArrayAccess
 offsetExists (mixed $offset)
 
 offsetGet (mixed $offset)
 
 offsetSet (mixed $offset, mixed $value)
 
 offsetUnset (mixed $offset)
 

Additional Inherited Members

- Data Fields inherited from SplDoublyLinkedList
const int IT_MODE_LIFO = UNKNOWN
 
const int IT_MODE_FIFO = UNKNOWN
 
const int IT_MODE_DELETE = UNKNOWN
 
const int IT_MODE_KEEP = UNKNOWN
 

Detailed Description

Definition at line 107 of file spl_dllist.stub.php.

Member Function Documentation

◆ dequeue()

SplQueue::dequeue ( )

@tentative-return-type @implementation-alias SplDoublyLinkedList\shift

Definition at line 119 of file spl_dllist.stub.php.

◆ enqueue()

SplQueue::enqueue ( mixed $value)

@tentative-return-type @implementation-alias SplDoublyLinkedList\push

Definition at line 113 of file spl_dllist.stub.php.


The documentation for this class was generated from the following file: