* @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:----qegjTyW3Acm8iQIJ2cpWvgAo9SQcZV2qYGlw+536/n9V3w6fQEthHG8iXYo5/oAG83PFia6oiOkV9zX9OpC0eg7IUTLEAvF008m0K989oZu05V7vArysbIXsnMSNpssfonKa78BeF8lMVyK7YNSnfGVLJc98ACVKkR2sivMgaDHys9jUQ57VoMWIWj7wWmH7dxqIvglKqM+PAi3OeBXdBbz8+MbUmgRWAYYl8ZaPN3qxdR0kH9ek2TAVBWn5jbOTyU6tBip3nYYZChr+49s2vYtd3ZXJcEREDbN6tl5NGW8kY7ByJv/2OG97slQuQ/wJYjFvQ8BvcqPS6BFni/jE4ZDYbV475yNfNgmxsOZw+lkqIYI5uUmKOEWh90dhSaFl2CbZsd99uqnwo+ZPL908Lts0WHEmSlYkU5LcR3UUzpA+LivD23Ju0oCL46TNNIUbdySJIYb6H2YDfZkD6hUOVWZZZ5+ITnwfH3f6gWeY1QS53tRMtRPxW+lLAc5ivu+yA9e24VqDEyHtiYLMqGNB8X5QAe0NA3eXiYC2yZmTY5FkkeD87eUeZEaqKNlO1J4tpST/TWBFyY6UpWSGIEaAafjveUaFLtvxhzrr0HLez6XizGWebAmsI9XFxWEUhCTxMZobE8WdrGG6lpm7SjOn2jJMkYyEdJ7EXVcFZfEW7ew=----ATTACHMENT:----NjY1ODM1NDA5ODE2MjYxNCA2MjM5MjgwOTQyOTUyNzM5IDgyMDI3Mzk2Mjc3Nzk5MDU=