| Total Complexity | 15 |
| Total Lines | 134 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class Stream implements \Psr\Http\Message\StreamInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Readble prop |
||
| 12 | * @var boolean |
||
| 13 | */ |
||
| 14 | private $readable; |
||
|
|
|||
| 15 | |||
| 16 | /** |
||
| 17 | * Writeable prop |
||
| 18 | * @var boolean |
||
| 19 | */ |
||
| 20 | private $writeable; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Seekable prop |
||
| 24 | * @var boolean |
||
| 25 | */ |
||
| 26 | private $seekable; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Content of stream |
||
| 30 | * @var mixed |
||
| 31 | */ |
||
| 32 | private $contents; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Size of stream |
||
| 36 | * @var int |
||
| 37 | */ |
||
| 38 | private $size; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @inheritDoc |
||
| 42 | */ |
||
| 43 | public function __toString() |
||
| 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() |
||
| 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) |
||
| 128 | } |
||
| 129 | |||
| 130 | /** |
||
| 131 | * @inheritDoc |
||
| 132 | */ |
||
| 133 | public function getContents() |
||
| 135 | } |
||
| 136 | |||
| 137 | /** |
||
| 138 | * @inheritDoc |
||
| 139 | */ |
||
| 140 | public function getMetadata($key = null) |
||
| 142 | } |
||
| 143 | } |
||
| 144 |