yxorP Documentation

Client
in package

Table of Contents

DEFAULT_TIMEOUT_S  = 15.0
ENDPOINT  = \yxorP\snag\Configuration::NOTIFY_ENDPOINT
$config  : Configuration
$http  : HttpClient
$pipeline  : Pipeline
$recorder  : Recorder
$resolver  : ResolverInterface|BasicResolver
$sessionTracker  : SessionTracker
__construct()  : mixed
build()  : mixed
clearBreadcrumbs()  : mixed
deploy()  : mixed
flush()  : mixed
getApiKey()  : string
getAppData()  : array<string|int, mixed>
getBuildEndpoint()  : string
getConfig()  : Configuration
getDeviceData()  : array<string|int, mixed>
getDiscardClasses()  : array<string|int, mixed>
getFilters()  : array<string|int, mixed>
getMemoryLimitIncrease()  : int|null
getMetaData()  : array<string|int, mixed>
getNotifier()  : array<string|int, mixed>
getNotifyEndpoint()  : string
getPipeline()  : Pipeline
getRedactedKeys()  : array<string|int, mixed>
getSessionClient()  : Client|ClientInterface
getSessionEndpoint()  : string
getSessionTracker()  : SessionTracker
getStrippedFilePath()  : mixed
isBatchSending()  : bool
isInProject()  : bool
leaveBreadcrumb()  : mixed
make()  : static
makeProxy()  : Client
notify()  : mixed
notifyError()  : mixed
notifyException()  : mixed
registerCallback()  : static
registerDefaultCallbacks()  : static
registerMiddleware()  : static
setAppType()  : static
setAppVersion()  : static
setAutoCaptureSessions()  : static
setBatchSending()  : static
setBuildEndpoint()  : static
setDiscardClasses()  : static
setErrorReportingLevel()  : static
setFallbackType()  : static
setFilters()  : static
setHostname()  : static
setMemoryLimitIncrease()  : Configuration
setMetaData()  : static
setNotifier()  : static
setNotifyEndpoint()  : static
setNotifyReleaseStages()  : static
setProjectRoot()  : mixed
setProjectRootRegex()  : mixed
setRedactedKeys()  : static
setReleaseStage()  : static
setSendCode()  : static
setSessionEndpoint()  : static
setStripPath()  : mixed
setStripPathRegex()  : mixed
shouldCaptureSessions()  : bool
shouldIgnoreErrorCode()  : bool
shouldNotify()  : bool
shouldSendCode()  : bool
startSession()  : mixed
getCaBundlePath()  : bool|string
resolveProxyOptions()  : array<string|int, mixed>
syncNotifyEndpointWithProxyBaseUri()  : mixed

Constants

DEFAULT_TIMEOUT_S

public mixed DEFAULT_TIMEOUT_S = 15.0

ENDPOINT

public mixed ENDPOINT = \yxorP\snag\Configuration::NOTIFY_ENDPOINT

Properties

Methods

build()

public build([mixed $repository = null ][, mixed $revision = null ][, mixed $provider = null ][, mixed $builderName = null ]) : mixed
Parameters
$repository : mixed = null
$revision : mixed = null
$provider : mixed = null
$builderName : mixed = null
Return values
mixed

clearBreadcrumbs()

public clearBreadcrumbs() : mixed
Return values
mixed

deploy()

public deploy([mixed $repository = null ][, mixed $branch = null ][, mixed $revision = null ]) : mixed
Parameters
$repository : mixed = null
$branch : mixed = null
$revision : mixed = null
Return values
mixed

flush()

public flush() : mixed
Return values
mixed

getApiKey()

public getApiKey() : string
Return values
string

getAppData()

public getAppData() : array<string|int, mixed>
Return values
array<string|int, mixed>

getBuildEndpoint()

public getBuildEndpoint() : string
Return values
string

getDeviceData()

public getDeviceData() : array<string|int, mixed>
Return values
array<string|int, mixed>

getDiscardClasses()

public getDiscardClasses() : array<string|int, mixed>
Return values
array<string|int, mixed>

getFilters()

public getFilters() : array<string|int, mixed>
Return values
array<string|int, mixed>

getMemoryLimitIncrease()

public getMemoryLimitIncrease() : int|null
Return values
int|null

getMetaData()

public getMetaData() : array<string|int, mixed>
Return values
array<string|int, mixed>

getNotifier()

public getNotifier() : array<string|int, mixed>
Return values
array<string|int, mixed>

getNotifyEndpoint()

public getNotifyEndpoint() : string
Return values
string

getRedactedKeys()

public getRedactedKeys() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSessionEndpoint()

public getSessionEndpoint() : string
Return values
string

getStrippedFilePath()

public getStrippedFilePath(mixed $file) : mixed
Parameters
$file : mixed
Return values
mixed

isBatchSending()

public isBatchSending() : bool
Return values
bool

isInProject()

public isInProject(mixed $file) : bool
Parameters
$file : mixed
Return values
bool

leaveBreadcrumb()

public leaveBreadcrumb(mixed $name[, mixed $type = null ][, array<string|int, mixed> $metaData = [] ]) : mixed
Parameters
$name : mixed
$type : mixed = null
$metaData : array<string|int, mixed> = []
Return values
mixed

make()

public static make([mixed $apiKey = null ][, mixed $notifyEndpoint = null ][, mixed $defaults = true ]) : static
Parameters
$apiKey : mixed = null
$notifyEndpoint : mixed = null
$defaults : mixed = true
Return values
static

makeProxy()

public static makeProxy([mixed $base = null ][, array<string|int, mixed> $options = [] ]) : Client
Parameters
$base : mixed = null
$options : array<string|int, mixed> = []
Return values
Client

notify()

public notify(Report $report[, callable $callback = null ]) : mixed
Parameters
$report : Report
$callback : callable = null
Return values
mixed

notifyError()

public notifyError(mixed $name, mixed $message[, callable $callback = null ]) : mixed
Parameters
$name : mixed
$message : mixed
$callback : callable = null
Return values
mixed

notifyException()

public notifyException(mixed $throwable[, callable $callback = null ]) : mixed
Parameters
$throwable : mixed
$callback : callable = null
Return values
mixed

registerCallback()

public registerCallback(callable $callback) : static
Parameters
$callback : callable
Return values
static

registerDefaultCallbacks()

public registerDefaultCallbacks() : static
Return values
static

registerMiddleware()

public registerMiddleware(callable $middleware) : static
Parameters
$middleware : callable
Return values
static

setAppType()

public setAppType(mixed $type) : static
Parameters
$type : mixed
Return values
static

setAppVersion()

public setAppVersion(mixed $appVersion) : static
Parameters
$appVersion : mixed
Return values
static

setAutoCaptureSessions()

public setAutoCaptureSessions(mixed $track) : static
Parameters
$track : mixed
Return values
static

setBatchSending()

public setBatchSending(mixed $batchSending) : static
Parameters
$batchSending : mixed
Return values
static

setBuildEndpoint()

public setBuildEndpoint(mixed $endpoint) : static
Parameters
$endpoint : mixed
Return values
static

setDiscardClasses()

public setDiscardClasses(array<string|int, mixed> $discardClasses) : static
Parameters
$discardClasses : array<string|int, mixed>
Return values
static

setErrorReportingLevel()

public setErrorReportingLevel(mixed $errorReportingLevel) : static
Parameters
$errorReportingLevel : mixed
Return values
static

setFallbackType()

public setFallbackType(mixed $type) : static
Parameters
$type : mixed
Return values
static

setFilters()

public setFilters(array<string|int, mixed> $filters) : static
Parameters
$filters : array<string|int, mixed>
Return values
static

setHostname()

public setHostname(mixed $hostname) : static
Parameters
$hostname : mixed
Return values
static

setMetaData()

public setMetaData(array<string|int, mixed> $metaData[, mixed $merge = true ]) : static
Parameters
$metaData : array<string|int, mixed>
$merge : mixed = true
Return values
static

setNotifier()

public setNotifier(array<string|int, mixed> $notifier) : static
Parameters
$notifier : array<string|int, mixed>
Return values
static

setNotifyEndpoint()

public setNotifyEndpoint(mixed $endpoint) : static
Parameters
$endpoint : mixed
Return values
static

setNotifyReleaseStages()

public setNotifyReleaseStages([array<string|int, mixed> $notifyReleaseStages = null ]) : static
Parameters
$notifyReleaseStages : array<string|int, mixed> = null
Return values
static

setProjectRoot()

public setProjectRoot(mixed $projectRoot) : mixed
Parameters
$projectRoot : mixed
Return values
mixed

setProjectRootRegex()

public setProjectRootRegex(mixed $projectRootRegex) : mixed
Parameters
$projectRootRegex : mixed
Return values
mixed

setRedactedKeys()

public setRedactedKeys(array<string|int, mixed> $redactedKeys) : static
Parameters
$redactedKeys : array<string|int, mixed>
Return values
static

setReleaseStage()

public setReleaseStage(mixed $releaseStage) : static
Parameters
$releaseStage : mixed
Return values
static

setSendCode()

public setSendCode(mixed $sendCode) : static
Parameters
$sendCode : mixed
Return values
static

setSessionEndpoint()

public setSessionEndpoint(mixed $endpoint) : static
Parameters
$endpoint : mixed
Return values
static

setStripPath()

public setStripPath(mixed $stripPath) : mixed
Parameters
$stripPath : mixed
Return values
mixed

setStripPathRegex()

public setStripPathRegex(mixed $stripPathRegex) : mixed
Parameters
$stripPathRegex : mixed
Return values
mixed

shouldCaptureSessions()

public shouldCaptureSessions() : bool
Return values
bool

shouldIgnoreErrorCode()

public shouldIgnoreErrorCode(mixed $code) : bool
Parameters
$code : mixed
Return values
bool

shouldNotify()

public shouldNotify() : bool
Return values
bool

shouldSendCode()

public shouldSendCode() : bool
Return values
bool

startSession()

public startSession() : mixed
Return values
mixed

getCaBundlePath()

protected static getCaBundlePath() : bool|string
Return values
bool|string

resolveProxyOptions()

private static resolveProxyOptions(mixed $base, array<string|int, mixed> $options) : array<string|int, mixed>
Parameters
$base : mixed
$options : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results