/** * Performs cleanup by removing the pid file */ public function cleanup() { if ($this->shell->file_exists($this->pidFileLocation)) { $this->shell->unlink($this->pidFileLocation); } }