Passed
Push — master ( 1b58c8...5bb8d0 )
by Aleksandr
02:30
created

Separable::explodeOutput()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Sanchescom\WiFi\System;
4
5
trait Separable
6
{
7
    /** @var string */
8
    protected $separator = '--separator--';
9
10
    /**
11
     * @param string $output
12
     *
13
     * @return array
14
     */
15
    protected function explodeOutput(string $output): array
16
    {
17
        return explode($this->separator, $output);
18
    }
19
}
20