StructureInterface
last analyzed

Size/Duplication

Total Lines 21
Duplicated Lines 0 %
Metric Value
dl 0
loc 21

2 Methods

Rating   Name   Duplication   Size   Complexity  
isSimilar() 0 1 ?
toArray() 0 1 ?
1
<?php
2
3
namespace Equip\Structure;
4
5
interface StructureInterface extends
0 ignored issues
show
Bug introduced by
Possible parse error: interface missing opening or closing brace
Loading history...
6
    \ArrayAccess,
7
    \Countable,
8
    \Iterator,
9
    \JsonSerializable,
10
    \Serializable
11
{
12
    /**
13
     * Check if given structure is the same as this structure.
14
     *
15
     * @return boolean
16
     */
17
    public function isSimilar(StructureInterface $target);
18
19
    /**
20
     * Get an array copy of the current structure.
21
     *
22
     * @return array
23
     */
24
    public function toArray();
25
}
26