public function __construct()

in php/src/FileFormStream.php [36:50]


    public function __construct($map, $boundary)
    {
        $this->stream   = fopen('php://memory', 'a+');
        $this->form     = $map;
        $this->boundary = $boundary;
        $this->keys     = array_keys($map);
        do {
            $read = $this->readForm(1024);
        } while (null !== $read);
        $meta           = stream_get_meta_data($this->stream);
        $this->seekable = $meta['seekable'];
        $this->uri      = $this->getMetadata('uri');
        $this->seek(0);
        $this->seek(0);
    }