Test Setup Failed
Branch version-2.0 (c21687)
by Sebastian
04:11
created

Queue::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/*
3
 * Copyright (C) 2018 Sebastian Böttger <[email protected]>
4
 * You may use, distribute and modify this code under the
5
 * terms of the MIT license.
6
 *
7
 * You should have received a copy of the MIT license with
8
 * this file. If not, please visit: https://opensource.org/licenses/mit-license.php
9
 */
10
11
namespace Seboettg\Collection;
12
13
use Seboettg\Collection\Queue\QueueInterface;
14
use Seboettg\Collection\Queue\QueueTrait;
15
16
/**
17
 * Class Queue
18
 * @package Seboettg\Collection
19
 * @author Sebastian Böttger <[email protected]>
20
 */
21
class Queue implements QueueInterface
22
{
23
    protected $array;
24
25
    use QueueTrait;
26
27
    /**
28
     * Queue constructor.
29
     */
30
    public function __construct()
31
    {
32
        $this->array = [];
33
    }
34
}
35