You are here

public function Process::getStdin in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/process/Process.php \Symfony\Component\Process\Process::getStdin()

Gets the contents of STDIN.

Return value

string|null The current contents

Deprecated

since version 2.5, to be removed in 3.0. Use setInput() instead. This method is deprecated in favor of getInput.

File

vendor/symfony/process/Process.php, line 1048

Class

Process
Process is a thin wrapper around proc_* functions to easily start independent PHP processes.

Namespace

Symfony\Component\Process

Code

public function getStdin() {
  @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.5 and will be removed in 3.0. Use the getInput() method instead.', E_USER_DEPRECATED);
  return $this
    ->getInput();
}