Class ProjectEnricher¶
Class \Klitsche\Dog\ProjectEnricher
- implements \Klitsche\Dog\Events\EventDispatcherAwareInterface
- uses \Klitsche\Dog\Events\EventDispatcherAwareTrait
- uses \Klitsche\Dog\Events\ProgressEmitterTrait
- uses \Klitsche\Dog\Events\IssueEmitterTrait
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)