Completed
Push — master ( 17bcf1...528abf )
by Dmitry
10:53
created

ExamplesAwareBuilderTrait::withExamples()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
4
namespace hiapi\endpoints\Module\InOutControl;
5
6
/**
7
 * Trait ExamplesAwareBuilderTrait
8
 *
9
 * @author Dmytro Naumenko <[email protected]>
10
 */
11
trait ExamplesAwareBuilderTrait
12
{
13
    /**
14
     * @var array
15
     */
16
    protected $examples;
17
18
    public function withExamples(array $examples)
19
    {
20
        $this->examples = $examples;
21
22
        return $this;
23
    }
24
}
25