]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Process.php
Merge pull request #9882 from MrPetovan/bug/po2php-plural-conversion
[friendica.git] / src / Core / Process.php
index 919d37dea1faacad4469cb03ed4d375c7ec1bc77..447d312d44d3e20bc152d85d1f761c52b5a2c55f 100644 (file)
@@ -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
         */