@@ -33,7 +33,7 @@ class Command
3333{
3434 private $ application ;
3535 private $ name ;
36- private $ processName ;
36+ private $ processTitle ;
3737 private $ aliases = array ();
3838 private $ definition ;
3939 private $ help ;
@@ -213,11 +213,11 @@ protected function initialize(InputInterface $input, OutputInterface $output)
213213 */
214214 public function run (InputInterface $ input , OutputInterface $ output )
215215 {
216- if (null !== $ this ->processName ) {
216+ if (null !== $ this ->processTitle ) {
217217 if (function_exists ('cli_set_process_title ' )) {
218- cli_set_process_title ($ this ->processName );
218+ cli_set_process_title ($ this ->processTitle );
219219 } elseif (function_exists ('setproctitle ' )) {
220- setproctitle ($ this ->processName );
220+ setproctitle ($ this ->processTitle );
221221 } elseif (OutputInterface::VERBOSITY_VERY_VERBOSE === $ output ->getVerbosity ()) {
222222 $ output ->writeln ('<comment>Install the proctitle PECL to be able to change the process title.</comment> ' );
223223 }
@@ -423,20 +423,20 @@ public function setName($name)
423423 }
424424
425425 /**
426- * Sets the process name of the command.
426+ * Sets the process title of the command.
427427 *
428428 * This feature should be used only when creating a long process command,
429429 * like a daemon.
430430 *
431431 * PHP 5.5+ or the proctitle PECL library is required
432432 *
433- * @param string $name The process name
433+ * @param string $title The process title
434434 *
435435 * @return Command The current instance
436436 */
437- public function setProcessName ( $ name )
437+ public function setProcessTitle ( $ title )
438438 {
439- $ this ->processName = $ name ;
439+ $ this ->processTitle = $ title ;
440440
441441 return $ this ;
442442 }
0 commit comments