Skip to content

Class ProjectEnricher

Class \Klitsche\Dog\ProjectEnricher

Constants

PROGRESS_TOPIC_PREPARE

public PROGRESS_TOPIC_PREPARE = 'Prepare Enrichers'

PROGRESS_TOPIC_VISIT

public PROGRESS_TOPIC_VISIT = 'Enrich Project & Elements'

Methods

__construct()

public __construct ( 
    \Klitsche\Dog\Enrichers\Enrichers $enrichers, 
    ?\Psr\EventDispatcher\EventDispatcherInterface $dispatcher
 ): 
Parameters
enrichers \Klitsche\Dog\Enrichers\Enrichers
dispatcher ?\Psr\EventDispatcher\EventDispatcherInterface

enrich()

public enrich ( 
    \Klitsche\Dog\ProjectInterface $project
 ): void
Parameters
project \Klitsche\Dog\ProjectInterface

getEventDispatcher()

public getEventDispatcher (  ): \Psr\EventDispatcher\EventDispatcherInterface
Returns
\Psr\EventDispatcher\EventDispatcherInterface

prepare()

public prepare (  ): void

setEventDispatcher()

public setEventDispatcher ( 
    \Psr\EventDispatcher\EventDispatcherInterface $dispatcher
 ): void
Parameters
dispatcher \Psr\EventDispatcher\EventDispatcherInterface

Test Coverage ๐Ÿ’š

  • ๐Ÿ’š Lines: 96.97% (32 / 33)
  • ๐Ÿงก Methods: 66.67% (2 / 3)