Skip to content

Class ProgressEvent

Class \Klitsche\Dog\Events\ProgressEvent

Methods

__construct()

public __construct ( 
    string $topic, 
    int $steps = 1, 
    string $message = ''
 ): 
Parameters
topic string
steps int
message string

getMessage()

public getMessage (  ): string
Returns
string

getSteps()

public getSteps (  ): int

Means max steps for type start and steps progressed for type progress.

Returns
int

getTopic()

public getTopic (  ): string
Returns
string

Test Coverage 💚

  • 💚 Lines: 100% (6 / 6)
  • 💚 Methods: 100% (4 / 4)