DebugEvent

Extends \phpDocumentor\Event\EventAbstract

Event representing some debugging information for phpDocumentor.

The information logged by this event will only be visible if the verbose option is provided to phpDocumentor.

package

Default

Methods

Initializes this event with the given subject.

__construct(object $subject) 
inherited

Arguments

$subject

object

Creates a new instance of a derived object and return that.

createInstance(object $subject) : static
inherited static

Used as convenience method for fluent interfaces.

Arguments

$subject

object

Response

static

Returns the context for this event.

getContext() : array<mixed,string>

Response

array<mixed,string>

Returns the message that was provided with this event.

getMessage() : string

Response

string

Returns the priority level associated with this logging event.

getPriority() : integer

Response

integer

Returns the object that is the subject of this event.

getSubject() : object
inherited

Response

object

Sets additional context (parameters) to use when translating messages.

setContext(array<mixed,string> $context) : self

Arguments

$context

array<mixed,string>

Response

self

Provides the message that is to be shown with this event.

setMessage(string $message) : \phpDocumentor\Event\DebugEvent

Arguments

$message

string

Response

\phpDocumentor\Event\DebugEvent

Properties

Message to display with the debugging event

message : string
var

Message to display with the debugging event

Type(s)

string

Default priority level for these events is DEBUG

priority : integer
var

Default priority level for these events is DEBUG

Type(s)

integer

Extra parameters to insert into the message after translation

context : array<mixed,string>
var

Extra parameters to insert into the message after translation

Type(s)

array<mixed,string>

Represents an object that is the subject of this event

subject : object
inherited
var

Represents an object that is the subject of this event

Type(s)

object