function DoubleEndedQueueInterface::peekLast
Retrieves, but does not remove, the tail of this queue, or returns `null` if this queue is empty.
Return value
T | null the tail of this queue, or `null` if this queue is empty.
1 method overrides DoubleEndedQueueInterface::peekLast()
- DoubleEndedQueue::peekLast in vendor/
ramsey/ collection/ src/ DoubleEndedQueue.php
File
-
vendor/
ramsey/ collection/ src/ DoubleEndedQueueInterface.php, line 312
Class
- DoubleEndedQueueInterface
- A linear collection that supports element insertion and removal at both ends.
Namespace
Ramsey\CollectionCode
public function peekLast() : mixed;