public static function pause($params) { try { $return = System::pause(); } catch (Exception $e) { throw new RpcException($e->getMessage(), -31001); } return $return; }
private function pause() { try { $pid = SourceSystem::pause(); } catch (Exception $se) { throw $se; } return $this->color->convert("%yExtender paused (pid " . $pid . ")%n") . "\n"; }