Completed
Push — 1.x ( 084efb...fac983 )
by Joel
02:47
created

BuildStream::readFrame()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 16
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 16
rs 9.4286
cc 3
eloc 8
nc 3
nop 0
1
<?php
2
3
namespace Docker\Stream;
4
5
/**
6
 * Represent a stream when building a dockerfile
7
 *
8
 * Callable(s) passed to this stream will take a BuildInfo object as the first argument
9
 */
10
class BuildStream extends MultiJsonStream
11
{
12
    /**
13
     * [@inheritdoc}
14
     */
15
    protected function getDecodeClass()
16
    {
17
        return 'Docker\API\Model\BuildInfo';
18
    }
19
}
20