Skip to content

Class FilesParser

Class \Klitsche\Dog\FilesParser

Constants

PROGRESS_TOPIC

public PROGRESS_TOPIC = 'Parse Files'

Methods

__construct()

public __construct ( 
    ?\phpDocumentor\Reflection\ProjectFactory $projectFactory = null, 
    ?\Psr\EventDispatcher\EventDispatcherInterface $dispatcher = null
 ): 
Parameters
projectFactory ?\phpDocumentor\Reflection\ProjectFactory
dispatcher ?\Psr\EventDispatcher\EventDispatcherInterface

getEventDispatcher()

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

parse()

public parse ( 
    array $files
 ): \Klitsche\Dog\ProjectInterface
Parameters
files array
Returns
\Klitsche\Dog\ProjectInterface

setEventDispatcher()

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

Test Coverage ❤️

  • ❤️ Lines: 42.86% (12 / 28)
  • ❤️ Methods: 33.33% (1 / 3)