You are here

public function FnStream::__get in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/src/FnStream.php \GuzzleHttp\Psr7\FnStream::__get()

Lazily determine which methods are not implemented.

Throws

\BadMethodCallException

File

vendor/guzzlehttp/psr7/src/FnStream.php, line 39

Class

FnStream
Compose stream implementations based on a hash of functions.

Namespace

GuzzleHttp\Psr7

Code

public function __get($name) {
  throw new \BadMethodCallException(str_replace('_fn_', '', $name) . '() is not implemented in the FnStream');
}