You are here

protected function SocketHandler::streamGetMetadata in Lagoon Logs 8

Wrapper to allow mocking

1 call to SocketHandler::streamGetMetadata()
SocketHandler::writeToSocket in src/Logger/SocketHandler.php

File

src/Logger/SocketHandler.php, line 271

Class

SocketHandler
Stores to any socket - uses fsockopen() or pfsockopen().

Namespace

Drupal\lagoon_logs\Logger

Code

protected function streamGetMetadata() {
  return stream_get_meta_data($this->resource);
}