Symfony\Component\Process\Process::isTty PHP Метод

isTty() публичный Метод

Checks if the TTY mode is enabled.
public isTty ( ) : boolean
Результат boolean true if the TTY mode is enabled, false otherwise
    public function isTty()
    {
        return $this->tty;
    }

Usage Example

Пример #1
0
 public static function create(Process $process, $input)
 {
     return new static($process->isTty(), $process->isPty(), $input, $process->isOutputDisabled());
 }