Symfony\Component\Process\Process::isTty PHP Méthode

isTty() public méthode

Checks if the TTY mode is enabled.
public isTty ( ) : boolean
Résultat boolean true if the TTY mode is enabled, false otherwise
    public function isTty()
    {
        return $this->tty;
    }

Usage Example

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