PHP Class TheSeer\phpDox\BootstrapApi

This class provides the API for use within the bootstrap process to register collecting backends, additional parsers for annotations, generator engines for additional output formats as well as enrichment plugins
Author: Arne Blankerts ([email protected])
Afficher le fichier Open project: theseer/phpdox

Méthodes publiques

Méthode Description
__construct ( Factory $bf, Factory $df, TheSeer\phpDox\Generator\Enricher\Factory $erf, Factory $enf, TheSeer\phpDox\ProgressLogger $logger ) Constructor
getBackends ( ) : array Get list of all registered collector backends
getEngines ( ) : array Get list of all registered generator engines
getEnrichers ( ) : array Get list of all registered enrichers
registerBackend ( string $name, string $description = 'no description set' ) : BackendBootstrapApi Register a new backend
registerEngine ( string $name, string $description ) : EngineBootstrapApi Register a new generator enginge
registerEnricher ( string $name, string $description ) : EnricherBootstrapApi Register a new enricher
registerParser ( $annotation ) : ParserBootstrapApi

Method Details

__construct() public méthode

Constructor
public __construct ( Factory $bf, Factory $df, TheSeer\phpDox\Generator\Enricher\Factory $erf, Factory $enf, TheSeer\phpDox\ProgressLogger $logger )
$bf TheSeer\phpDox\Collector\Backend\Factory
$df TheSeer\phpDox\DocBlock\Factory
$erf TheSeer\phpDox\Generator\Enricher\Factory
$enf TheSeer\phpDox\Generator\Engine\Factory
$logger TheSeer\phpDox\ProgressLogger

getBackends() public méthode

Get list of all registered collector backends
public getBackends ( ) : array
Résultat array

getEngines() public méthode

Get list of all registered generator engines
public getEngines ( ) : array
Résultat array

getEnrichers() public méthode

Get list of all registered enrichers
public getEnrichers ( ) : array
Résultat array

registerBackend() public méthode

Register a new backend
public registerBackend ( string $name, string $description = 'no description set' ) : BackendBootstrapApi
$name string Name of the collector backend
$description string A describing text
Résultat BackendBootstrapApi

registerEngine() public méthode

Register a new generator enginge
public registerEngine ( string $name, string $description ) : EngineBootstrapApi
$name string Name of the generator engine
$description string A describing text
Résultat EngineBootstrapApi

registerEnricher() public méthode

Register a new enricher
public registerEnricher ( string $name, string $description ) : EnricherBootstrapApi
$name string Name of the enricher
$description string A describing text
Résultat EnricherBootstrapApi

registerParser() public méthode

public registerParser ( $annotation ) : ParserBootstrapApi
$annotation
Résultat ParserBootstrapApi