AbstractHandler
in package
implements
HandlerInterface
AbstractYes
Debug handler abstract class
Tags
Table of Contents
Interfaces
- HandlerInterface
- Debug handler interface
Properties
- $name : string|null
- Name of time measurement
Methods
- __construct() : mixed
- Constructor
- getName() : string|null
- Get name
- prepare() : array<string|int, mixed>
- Prepare handler data for storage
- prepareAsString() : string
- Prepare handler data as string
- prepareHeaderAsString() : string
- Prepare header string
- setName() : AbstractHandler
- Set name
Properties
$name
Name of time measurement
protected
string|null
$name
= null
Methods
__construct()
Constructor
public
__construct([string|null $name = null ]) : mixed
Instantiate a handler object
Parameters
- $name : string|null = null
getName()
Get name
public
getName() : string|null
Return values
string|nullprepare()
Prepare handler data for storage
public
abstract prepare() : array<string|int, mixed>
Return values
array<string|int, mixed>prepareAsString()
Prepare handler data as string
public
abstract prepareAsString() : string
Return values
stringprepareHeaderAsString()
Prepare header string
public
abstract prepareHeaderAsString() : string
Return values
stringsetName()
Set name
public
setName(string $name) : AbstractHandler
Parameters
- $name : string