Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3/**
4 * @license MIT
5 * @author hazuki3417<hazuki3417@gmail.com>
6 * @copyright 2021 hazuki3417 all rights reserved.
7 */
8
9namespace Selen\Data\Structure;
10
11/**
12 * @extends \Iterator<mixed>
13 */
14interface QueueInterface extends ObjectsInterface, \Iterator
15{
16    /**
17     * エンキューします
18     *
19     * @param mixed $object オブジェクトを渡します
20     */
21    public function enqueue($object): void;
22
23    /**
24     * デキューします
25     *
26     * @return mixed オブジェクトを返します
27     */
28    public function dequeue();
29}