File: Stream.php Lines 1 to 20
1<?php
2namespace Puyo\Psr7;
3
4/**
5 * ストリームを抽象化したもの
6 *
7 * PSR-7 の StreamInterface の実装。
8 * HTTPに限らず利用できるが、現状はバイナリにしか対応していない。
9 */
Type Class Description
pmd ExcessiveClassComplexity The class Stream has an overall complexity of 56 which is very high. The configured complexity threshold is 50.
10
Type Class Description
pmd ExcessiveClassComplexity The class Stream has an overall complexity of 56 which is very high. The configured complexity threshold is 50.
class Stream implements \Psr\Http\Message\StreamInterface
11{
12    /** @var resource */
13    protected $fp;
14
15    /**
16     * ファイルのパスから生成した場合に内部で開くためのStream
17     * @var resource
18     */
19    protected $tmpFp;
20