Function Virtual_shell->_combine_streams

Definitions

sources/commandr.php

  • Combine two streams regardless of their format.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$stream1 array No No required parameter N/A N/A Stream 1
$stream2 array No No required parameter N/A N/A Stream 2

Returns

  • Combined streams
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Combine two streams regardless of their format.
 *
 * @param  array $stream1 Stream 1
 * @param  array $stream2 Stream 2
 * @return array Combined streams
 */

protected function _combine_streams(array $stream1, array $stream2) : array