* @license http://www.apache.org/licenses/LICENSE-2.0 * @link http://phpsx.org */ trait StreamWrapperTrait { /** @var \PSX\Http\StreamInterface */ protected $stream; public function close() { $this->call(); $this->stream->close(); } public function detach() { $this->call(); return $this->stream->detach(); } public function getSize() { $this->call(); return $this->stream->getSize(); } public function tell() { $this->call(); return $this->stream->tell(); } public function eof() { $this->call(); return $this->stream->eof(); } public function rewind() { $this->call(); return $this->stream->rewind(); } public function isSeekable() { $this->call(); return $this->stream->isSeekable(); } public function seek($offset, $whence = SEEK_SET) { $this->call(); return $this->stream->seek($offset, $whence); } public function isWritable() { $this->call(); return $this->stream->isWritable(); } public function write($string) { $this->call(); return $this->stream->write($string); } public function isReadable() { $this->call(); return $this->stream->isReadable(); } public function read($length) { $this->call(); return $this->stream->read($length); } public function getContents() { $this->call(); return $this->stream->getContents(); } public function getMetadata($key = null) { $this->call(); return $this->stream->getMetadata($key); } public function __toString() { $this->call(); return $this->stream->__toString(); } protected function call() { } } __halt_compiler();----SIGNATURE:----Fy7BfTPTbjNvz1QY3DROOt+yQw5nLGQLu980mjbwr3EPplbShWo5ehuXZAuvqrw7YIBbnKeYNir9x7K68lq9/9yloECOwc7j1d09NS2FMv7mE+tc7Jy4HPFUnx1evj2MZfqGoXbykKA4Op7mUupNerAlCAVTiSQAxvuruFFXHGjTSsI9AAjjkMy0cJRF0cu5PExuiKO/Yvj84MEv7P1g43Ptco5KcW9Ky2h04ay5Lo0JpsWNViQw3lUjduGV2ao65HZjKQIWa3bC+dgBZOKHOLHze91HeXvc2RqUWEL2vMAK4os3L0jKhcAzXkbFL8nzWXQEkr+/NMogJoZnHG5uqdT1E4VWMrWEpSvs+ch+hahEDVzToBcurZHhnX8e2G843xGF8RXqXf0c08kG0Y1/ULzMkBY8GX0HrVcv9wXIdidGG47+PPuTYDANpv3fsQFqQKUslxkeU3pw93pbUvw9b2o7ECVj0fBnN6JMaMat96qB9C4zEFm6tUyou9XGG7PspK/tUV24LZuKJHOGMwzgcrx3x8/A25f2tMYmQsEgQ93nHTUFyJWZa1jsHdrtlKLxOLaSlDklq7t45kxkd+7GaTea7p0rg+BEYpHRB6xQj48YByfuuuk/qjyxByRZydGyA4jYHBwEccp2x649ICkElh1IhfVZ0jO4WnTdW4wU61g=----ATTACHMENT:----OTkyMjI0MjE4MDgyMzM2NyA5Mjg0NzQ4MjAxMjI1NjI2IDg3MjkxODkyNzk4NTUwNjY=