Passed
Pull Request — master (#38)
by kenny
01:52
created

Stream::isReadable()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace One\Psr7;
4
5
/**
6
 * StreamInterface Implementation class
7
 */
8
class Stream implements \Psr\Http\Message\StreamInterface
9
{
10
    /**
11
     * Readble prop
12
     * @var boolean
13
     */
14
    private $readable;
0 ignored issues
show
introduced by
The private property $readable is not used, and could be removed.
Loading history...
15
16
    /**
17
     * Writeable prop
18
     * @var boolean
19
     */
20
    private $writeable;
0 ignored issues
show
introduced by
The private property $writeable is not used, and could be removed.
Loading history...
21
22
    /**
23
     * Seekable prop
24
     * @var boolean
25
     */
26
    private $seekable;
0 ignored issues
show
introduced by
The private property $seekable is not used, and could be removed.
Loading history...
27
28
    /**
29
     * Content of stream
30
     * @var mixed
31
     */
32
    private $contents;
0 ignored issues
show
introduced by
The private property $contents is not used, and could be removed.
Loading history...
33
34
    /**
35
     * Size of stream
36
     * @var int
37
     */
38
    private $size;
0 ignored issues
show
introduced by
The private property $size is not used, and could be removed.
Loading history...
39
40
    /**
41
     * @inheritDoc
42
     */
43
    public function __toString()
44
    {
45
    }
46
47
    /**
48
     * @inheritDoc
49
     */
50
    public function close()
51
    {
52
    }
53
54
    /**
55
     * @inheritDoc
56
     */
57
    public function detach()
58
    {
59
    }
60
    /**
61
     * @inheritDoc
62
     */
63
    public function getSize()
64
    {
65
    }
66
67
    /**
68
     * @inheritDoc
69
     */
70
    public function tell()
71
    {
72
    }
73
74
    /**
75
     * @inheritDoc
76
     */
77
    public function eof()
78
    {
79
    }
80
81
    /**
82
     * @inheritDoc
83
     */
84
    public function isSeekable()
85
    {
86
    }
87
88
    /**
89
     * @inheritDoc
90
     */
91
    public function seek($offset, $whence = SEEK_SET)
92
    {
93
    }
94
95
    /**
96
     * @inheritDoc
97
     */
98
    public function rewind()
99
    {
100
    }
101
102
    /**
103
     * @inheritDoc
104
     */
105
    public function isWritable()
106
    {
107
    }
108
109
    /**
110
     * @inheritDoc
111
     */
112
    public function write($string)
113
    {
114
    }
115
116
    /**
117
     * @inheritDoc
118
     */
119
    public function isReadable()
120
    {
121
    }
122
123
    /**
124
     * @inheritDoc
125
     */
126
    public function read($length)
127
    {
128
    }
129
130
    /**
131
     * @inheritDoc
132
     */
133
    public function getContents()
134
    {
135
    }
136
137
    /**
138
     * @inheritDoc
139
     */
140
    public function getMetadata($key = null)
141
    {
142
    }
143
}
144