mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
d60e53c3ca
81b7411267
Fix access to optional array key when using function1f7170df9e
Merge pull request #1648 from ste93cry/fix-phpstan-access-to-undefined-array-key
36 lines
946 B
PHP
36 lines
946 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Symfony package.
|
|
*
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
namespace RectorPrefix20220108\Symfony\Component\Console\Input;
|
|
|
|
/**
|
|
* StreamableInputInterface is the interface implemented by all input classes
|
|
* that have an input stream.
|
|
*
|
|
* @author Robin Chalas <robin.chalas@gmail.com>
|
|
*/
|
|
interface StreamableInputInterface extends \RectorPrefix20220108\Symfony\Component\Console\Input\InputInterface
|
|
{
|
|
/**
|
|
* Sets the input stream to read from when interacting with the user.
|
|
*
|
|
* This is mainly useful for testing purpose.
|
|
*
|
|
* @param resource $stream The input stream
|
|
*/
|
|
public function setStream($stream);
|
|
/**
|
|
* Returns the input stream.
|
|
*
|
|
* @return resource|null
|
|
*/
|
|
public function getStream();
|
|
}
|