Listing   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 2
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A implode() 0 4 1
1
<?php declare(strict_types = 1);
2
3
namespace JSKOS;
4
5
use InvalidArgumentException;
6
7
/**
8
 * A JSKOS List as defined by JSKOS specification.
9
 */
10
class Listing extends Container
11
{
12
    use StringContainer;
13
14
    /**
15
     * Join List members with a string
16
     * @param $glue string
17
     */
18
    public function implode(string $glue): string
19
    {
20
        return implode($glue, $this->members);
21
    }
22
}
23