aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-symfony-console/src/input/streamable_input_interface.rs
blob: 559b34a0cf597a3ebb9e275e0f009c76fffedb94 (plain)
1
2
3
4
5
6
7
8
9
10
//! ref: composer/vendor/symfony/console/Input/StreamableInputInterface.php

use crate::input::input_interface::InputInterface;
use shirabe_php_shim::PhpResource;

pub trait StreamableInputInterface: InputInterface {
    fn set_stream(&mut self, stream: PhpResource);

    fn get_stream(&self) -> Option<PhpResource>;
}