Nextcloud PHP API (master)

AbstractDataCollector
in package
implements IDataCollector, JsonSerializable

AbstractYes

Children of this class must store the collected data in the data property.

Tags
author

Fabien Potencier fabien@symfony.com

author

Bernhard Schussek bschussek@symfony.com

author

Carl Schwan carl@carlschwan.eu

since
24.0.0

Table of Contents

Interfaces

IDataCollector
DataCollectorInterface.
JsonSerializable

Properties

$data  : array<string|int, mixed>

Methods

__sleep()  : array<string|int, mixed>
getName()  : string
Returns the name of the collector.
jsonSerialize()  : mixed
reset()  : void
Reset the state of the profiler. By default it only empties the $this->data contents, but you can override this method to do additional cleaning.

Properties

Methods

__sleep()

public __sleep() : array<string|int, mixed>
Tags
since
24.0.0
Return values
array<string|int, mixed>

getName()

Returns the name of the collector.

public getName() : string
Tags
since
24.0.0
Return values
string

jsonSerialize()

public jsonSerialize() : mixed
Tags
since
24.0.0
Attributes
#[ReturnTypeWillChange]

reset()

Reset the state of the profiler. By default it only empties the $this->data contents, but you can override this method to do additional cleaning.

public reset() : void
Tags
since
24.0.0

        
On this page

Search results