Documentation

BeforeAddIssueInterface
in

Table of Contents

Methods

beforeAddIssue()  : null|bool
Called before adding a code issue.

Methods

beforeAddIssue()

Called before adding a code issue.

public static beforeAddIssue(BeforeAddIssueEvent $event) : null|bool

Note that event handlers are called in the order they were registered, and thus the handler registered earlier may prevent subsequent handlers from running by returning a boolean value.

Parameters
$event : BeforeAddIssueEvent
Return values
null|bool

$event How and whether to continue:

  • null continues with next event handler
  • true stops event handling & keeps issue
  • false stops event handling & ignores issue

        
On this page

Search results