]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Process.php
Merge pull request #10801 from annando/network-thread-view
[friendica.git] / src / Core / Process.php
index 919d37dea1faacad4469cb03ed4d375c7ec1bc77..3c1a139298f95703e30b0ea735c6d3a0c70e34d8 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -77,6 +77,17 @@ class Process
                $this->pid = $pid;
        }
 
+       /**
+        * Set the process id
+        *
+        * @param integer $pid
+        * @return void
+        */
+       public function setPid(int $pid)
+       {
+               $this->pid = $pid;
+       }
+
        /**
         * Log active processes into the "process" table
         */