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

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

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

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