'Store a PID in this PID file.
@param pid: A PID to store.
@type pid: L{int}
@raise EnvironmentError: If this PID file cannot be written.'

def _write(self, pid):

    self.filePath.setContent(self._format(pid=pid))
