Listing::implode()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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