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 declare(strict_types=1);
2
3namespace Computator\FrameworkUtils\PHPTemplate\RenderTree;
4
5use ArrayAccess;
6use Countable;
7use Iterator;
8
9interface NodeLinkedList extends Iterator, Countable, ArrayAccess {
10    public function add(int $index, Node $value): void;
11    /** @return Node */
12    public function bottom(): mixed;
13    /** @return Node */
14    public function current(): mixed;
15    public function getIteratorMode(): int;
16    public function isEmpty(): bool;
17    public function key(): int;
18    /** @param int $index */
19    public function offsetExists($index): bool;
20    /**
21     * @param int $index
22     * @return Node
23     */
24    public function offsetGet($index): mixed;
25    /**
26     * @param int $index
27     * @param Node $value
28     */
29    public function offsetSet($index, $value): void;
30    /** @param int $index */
31    public function offsetUnset($index): void;
32    /** @return Node */
33    public function pop(): mixed;
34    public function prev(): void;
35    public function push(Node $value): void;
36    /** @return Node */
37    public function shift(): mixed;
38    /** @return Node */
39    public function top(): mixed;
40    public function unshift(Node $value): void;
41}