public static function getValidParsers(ProjectTypeInterface $project, ParserDictionary $parserDictionary, EventDispatcherInterface $dispatcher) {
    $parserSet = $project::getFileParsers($parserDictionary);
    $event = new ParserSetEvent($project, $parserSet);
    $dispatcher->dispatch(ProjectTypeInterface::COLLECT_PARSER_SET, $event);
    $plugins = [];
    foreach ($event->getParserDefinitionSet() as $parserDefinition) {
      $plugins[] = $parserDictionary->createInstance($parserDefinition->getPluginId(), $parserDefinition, $project);
    }
    return $plugins;
  }
public static function getValidParsers(ProjectTypeInterface $project, ParserDictionary $parserDictionary, EventDispatcherInterface $dispatcher) {
    $parserSet = $project::getFileParsers($parserDictionary);
    $event = new ParserSetEvent($project, $parserSet);
    $dispatcher->dispatch(ProjectTypeInterface::COLLECT_PARSER_SET, $event);
    $plugins = [];
    foreach ($event->getParserDefinitionSet() as $parserDefinition) {
      $plugins[] = $parserDictionary->createInstance($parserDefinition->getPluginId(), $parserDefinition, $project);
    }
    return $plugins;
  }
public static function getValidParsers ( ProjectTypeInterface $ project , ParserDictionary $ parserDictionary , EventDispatcherInterface $ dispatcher ) { $ parserSet = $ project :: getFileParsers ( $ parserDictionary ) ; $ event = new ParserSetEvent ( $ project , $ parserSet ) ; $ dispatcher -> dispatch ( ProjectTypeInterface :: COLLECT_PARSER_SET , $ event ) ; $ plugins = [ ] ; foreach ( $ event -> getParserDefinitionSet ( ) as $ parserDefinition ) { $ plugins [ ] = $ parserDictionary -> createInstance ( $ parserDefinition -> getPluginId ( ) , $ parserDefinition , $ project ) ; } return $ plugins ; }
Gets an array of valid parser plugins for the project type.

@param \Hedron\ProjectTypeInterface $project
The project plugin for the current environment settings.
@param \Hedron\ParserDictionary $parserDictionary
The parser dictionary.
@param \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher
The event dispatcher.

@return \Hedron\FileParserInterface[]
The valid parser plugins.
Gets an array of valid parser plugins for the project type .