diff --git a/src/Symfony/Component/Process/Process.php b/src/Symfony/Component/Process/Process.php index d1d0ae1066..ccfa0568cc 100644 --- a/src/Symfony/Component/Process/Process.php +++ b/src/Symfony/Component/Process/Process.php @@ -1057,6 +1057,8 @@ class Process */ public function getStdin() { + trigger_error('getStdin() is deprecated since version 2.5 and will be removed in 3.0, use getInput() instead.', E_USER_DEPRECATED); + return $this->getInput(); } @@ -1085,6 +1087,8 @@ class Process */ public function setStdin($stdin) { + trigger_error('setStdin() is deprecated since version 2.5 and will be removed in 3.0, use setInput() instead.', E_USER_DEPRECATED); + return $this->setInput($stdin); }