You are here

protected function SocketHandler::streamSetChunkSize in Lagoon Logs 8

Wrapper to allow mocking

See also

http://php.net/manual/en/function.stream-set-chunk-size.php

1 call to SocketHandler::streamSetChunkSize()
SocketHandler::setStreamChunkSize in src/Logger/SocketHandler.php

File

src/Logger/SocketHandler.php, line 257

Class

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

Namespace

Drupal\lagoon_logs\Logger

Code

protected function streamSetChunkSize() {
  return stream_set_chunk_size($this->resource, $this->chunkSize);
}