src/Bin.php
/**
     * Create from standard input.
     *
     * @return resource
     */
Create from standard input.
@return resource
Create from standard input . @return resource
private function fromInput()
    {
        $stream = @fopen('php://stdin', 'r');
        if (!\is_resource($stream)) {
            throw new RuntimeException(sprintf('Input stream error: %s', error_get_last()['message']));
        }
        stream_set_blocking($stream, false);
        return $stream;
    }
private function fromInput ( ) { $ stream = @ fopen ( 'php://stdin' , 'r' ) ; if ( ! \ is_resource ( $ stream ) ) { throw new RuntimeException ( sprintf ( 'Input stream error: %s' , error_get_last ( ) [ 'message' ] ) ) ; } stream_set_blocking ( $ stream , false ) ; return $ stream ; }
Create from standard input.
Create from standard input .