[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: ClientInterface.php
<?php declare(strict_types=1); namespace Sentry; use GuzzleHttp\Promise\PromiseInterface; use Sentry\Integration\IntegrationInterface; use Sentry\State\Scope; /** * This interface must be implemented by all Raven client classes. * * @method StacktraceBuilder getStacktraceBuilder() Returns the stacktrace builder of the client. * @method string|null getCspReportUrl() Returns an URL for security policy reporting that's generated from the given DSN * * @author Stefano Arlandini <sarlandini@alice.it> */ interface ClientInterface { /** * Returns the options of the client. */ public function getOptions(): Options; /** * Logs a message. * * @param string $message The message (primary description) for the event * @param Severity|null $level The level of the message to be sent * @param Scope|null $scope An optional scope keeping the state * @param EventHint|null $hint Object that can contain additional information about the event */ public function captureMessage(string $message, ?Severity $level = null, ?Scope $scope = null/*, ?EventHint $hint = null*/): ?EventId; /** * Logs an exception. * * @param \Throwable $exception The exception object * @param Scope|null $scope An optional scope keeping the state * @param EventHint|null $hint Object that can contain additional information about the event */ public function captureException(\Throwable $exception, ?Scope $scope = null/*, ?EventHint $hint = null*/): ?EventId; /** * Logs the most recent error (obtained with {@link error_get_last}). * * @param Scope|null $scope An optional scope keeping the state * @param EventHint|null $hint Object that can contain additional information about the event */ public function captureLastError(?Scope $scope = null/*, ?EventHint $hint = null*/): ?EventId; /** * Captures a new event using the provided data. * * @param Event $event The event being captured * @param EventHint|null $hint May contain additional information about the event * @param Scope|null $scope An optional scope keeping the state */ public function captureEvent(Event $event, ?EventHint $hint = null, ?Scope $scope = null): ?EventId; /** * Returns the integration instance if it is installed on the client. * * @param string $className The FQCN of the integration * * @psalm-template T of IntegrationInterface * * @psalm-param class-string<T> $className * * @psalm-return T|null */ public function getIntegration(string $className): ?IntegrationInterface; /** * Flushes the queue of events pending to be sent. If a timeout is provided * and the queue takes longer to drain, the promise resolves with `false`. * * @param int|null $timeout Maximum time in seconds the client should wait */ public function flush(?int $timeout = null): PromiseInterface; }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.77 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002