Class Analyzer¶
Class \Klitsche\Dog\Analyzer
- implements \Klitsche\Dog\Events\EventDispatcherAwareInterface
- uses \Klitsche\Dog\Events\EventDispatcherAwareTrait
- uses \Klitsche\Dog\Events\ProgressEmitterTrait
- uses \Klitsche\Dog\Events\IssueEmitterTrait
Constants¶
PROGRESS_TOPIC¶
public PROGRESS_TOPIC = 'Analyze Elements'
Methods¶
__construct()¶
public __construct (
\Klitsche\Dog\Analyzer\AnalyzeInterface $rules,
?\Psr\EventDispatcher\EventDispatcherInterface $dispatcher
):
- Parameters
- rules
\Klitsche\Dog\Analyzer\AnalyzeInterface
- dispatcher
?\Psr\EventDispatcher\EventDispatcherInterface
analyze()¶
public analyze (
\Klitsche\Dog\ProjectInterface $project
): void
- Parameters
- project
\Klitsche\Dog\ProjectInterface
getEventDispatcher()¶
public getEventDispatcher ( ): \Psr\EventDispatcher\EventDispatcherInterface
- Returns
\Psr\EventDispatcher\EventDispatcherInterface
setEventDispatcher()¶
public setEventDispatcher (
\Psr\EventDispatcher\EventDispatcherInterface $dispatcher
): void
- Parameters
- dispatcher
\Psr\EventDispatcher\EventDispatcherInterface
Test Coverage 💚¶
- 💚 Lines: 100% (10 / 10)
- 💚 Methods: 100% (2 / 2)