Webmozart\Console\Api\IO\Input::close PHP Method

close() public method

Closes the input.
public close ( )
    public function close()
    {
        $this->stream->close();
    }

Usage Example

Exemplo n.º 1
0
 public function testClose()
 {
     $stream = $this->getMock('Webmozart\\Console\\Api\\IO\\InputStream');
     $this->input = new Input($stream);
     $stream->expects($this->once())->method('close');
     $this->input->close();
 }
All Usage Examples Of Webmozart\Console\Api\IO\Input::close