5 Star 6 Fork 2

Gitee 极速下载/phpDocumentor2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/phpDocumentor/phpDocumentor2.git
克隆/下载
services.yaml 9.83 KB
一键复制 编辑 原始数据 按行查看 历史
Jaapio 提交于 4个月前 . Fix regression in log output
imports:
- { resource: 'pipelines.yaml' }
- { resource: 'reflection.yaml' }
- { resource: 'stages.yaml' }
- { resource: 'guides.yaml' }
services:
_defaults:
autowire: true
autoconfigure: true
public: false
bind:
$defaultTemplateName: 'default'
$globalTemplatesPath: "@=service('phpDocumentor\\\\Application').templateDirectory()"
$servicesWithCustomSettings: !tagged_iterator app.with_custom_settings
_instanceof:
# Tag any service that implements WithCustomSettings so that we can auto-register them
# with the ProjectDescriptor
phpDocumentor\Descriptor\ProjectDescriptor\WithCustomSettings:
tags: ['app.with_custom_settings']
phpDocumentor\Descriptor\Filter\FilterInterface:
tags: ['phpdoc.descriptor.filter']
phpDocumentor\Transformer\Writer\WriterAbstract:
tags: ['phpdoc.transformer.writer']
###################################################################################
## Autoloading definitions for whole namespaces ###################################
###################################################################################
phpDocumentor\:
resource: '../src/phpDocumentor/*'
exclude:
- '../src/phpDocumentor/Linker/Linker'
- '../src/phpDocumentor/Compiler'
- '../src/phpDocumentor/**/Messages'
- '../src/phpDocumentor/Pipeline/Stage'
- '../src/phpDocumentor/Transformer/**/{Event, Exception}/{**}'
- '../src/phpDocumentor/Guides/RenderCommand.php'
- '../src/phpDocumentor/Guides/Handlers/*Handler.php'
phpDocumentor\Console\:
resource: '../src/phpDocumentor/Console'
phpDocumentor\Parser\:
resource: '../src/phpDocumentor/Parser'
exclude: '../src/phpDocumentor/Parser/Middleware'
phpDocumentor\Parser\Middleware\:
resource: '../src/phpDocumentor/Parser/Middleware'
tags: [ { name: 'phpdoc.parser.middleware', priority: 1000 } ]
phpDocumentor\Transformer\:
resource: '../src/phpDocumentor/Transformer'
exclude: '../src/phpDocumentor/Transformer/**/{Event, Exception}/{**}'
###################################################################################
## Autoloading definitions for individual classes #################################
###################################################################################
Twig\Loader\FilesystemLoader: ~
Twig\Environment:
arguments:
$loader: '@Twig\Loader\FilesystemLoader'
application:
alias: 'phpDocumentor\Application'
public: true
phpDocumentor\Application:
public: true
phpDocumentor\Console\Command\Project\RunCommand:
arguments:
- '@phpDocumentor\Descriptor\ProjectDescriptorBuilder'
- '@phpdoc.pipeline.complete'
tags: [ { name: 'console.command' } ]
public: true
phpDocumentor\Console\Command\Project\ListSettingsCommand:
tags: [ { name: 'console.command' } ]
public: true
phpDocumentor\Descriptor\Builder\AssemblerFactory:
class: 'phpDocumentor\Descriptor\Builder\AssemblerFactory'
factory: ['phpDocumentor\Descriptor\Builder\AssemblerFactory', 'createDefault']
phpDocumentor\Descriptor\Filter\Filter:
arguments:
- !tagged_iterator 'phpdoc.descriptor.filter'
phpDocumentor\Configuration\Configuration:
factory: ['@phpDocumentor\Configuration\ConfigurationFactory', 'fromDefaultLocations']
phpDocumentor\Configuration\ConfigurationFactory:
arguments:
$defaultFiles:
- "@=service('application').getWorkingDir() ~ '/phpdoc.xml'"
- "@=service('application').getWorkingDir() ~ '/phpdoc.dist.xml'"
- "@=service('application').getWorkingDir() ~ '/phpdoc.xml.dist'"
- "@=service('application').getWorkingDir() ~ '/.phpdoc.xml.dist'"
- "@=service('application').getWorkingDir() ~ '/.phpdoc.xml'"
- "@=service('application').getWorkingDir() ~ '/.phpdoc.dist.xml'"
$symfonyConfigFactory: '@phpDocumentor\Configuration\SymfonyConfigFactory'
phpDocumentor\Configuration\SymfonyConfigFactory:
arguments:
$definitions:
'2': '@phpDocumentor\Configuration\Definition\Version2'
'3': '@phpDocumentor\Configuration\Definition\Version3'
phpDocumentor\Parser\Parser: ~
phpDocumentor\Reflection\DocBlock\ExampleFinder: ~
phpDocumentor\JsonPath\Executor: ~
phpdoc.jsonpath.parser:
class: phpDocumentor\JsonPath\Parser
factory: ['phpDocumentor\JsonPath\Parser', 'createInstance']
phpDocumentor\Descriptor\Query\Engine:
arguments:
$parser: '@phpdoc.jsonpath.parser'
phpDocumentor\Parser\Middleware\StopwatchMiddleware:
tags: [ { name: 'phpdoc.parser.middleware', priority: 5000 } ]
# Increments the progress bar; by placing it in front of the cache you see the progress bar
# increment, even while we only consume the cache
phpDocumentor\Parser\Middleware\EmittingMiddleware:
tags: [ { name: 'phpdoc.parser.middleware', priority: 4500 } ]
phpDocumentor\Parser\Middleware\CacheMiddleware:
arguments:
$cache: '@files'
tags: [ { name: 'phpdoc.parser.middleware', priority: 4000 } ]
phpDocumentor\Parser\Middleware\ErrorHandlingMiddleware:
tags: [ { name: 'phpdoc.parser.middleware', priority: 3000 } ]
phpDocumentor\Parser\Middleware\ReEncodingMiddleware:
tags: [ { name: 'phpdoc.parser.middleware', priority: 2000 } ]
phpDocumentor\Descriptor\Cache\ProjectDescriptorMapper:
arguments:
$cache: '@descriptors'
phpDocumentor\Parser\Cache\Locator:
arguments:
$files: '@files'
$descriptors: '@descriptors'
phpDocumentor\Extension\ExtensionHandler:
factory: [ '\phpDocumentor\Extension\ExtensionHandler', 'getInstance' ]
###################################################################################
## Autoloading definitions for external services ##################################
###################################################################################
files:
class: phpDocumentor\Parser\Cache\FilesystemAdapter
descriptors:
class: phpDocumentor\Parser\Cache\FilesystemAdapter
Monolog\Logger:
public: true
arguments:
$name: 'app'
$processors:
- '@Monolog\Processor\PsrLogMessageProcessor'
Monolog\Processor\PsrLogMessageProcessor: ~
Psr\Log\LoggerInterface:
alias: 'Monolog\Logger'
public: true
Symfony\Component\EventDispatcher\EventDispatcher:
public: true
Symfony\Contracts\EventDispatcher\EventDispatcherInterface: '@Symfony\Component\EventDispatcher\EventDispatcher'
Psr\EventDispatcher\EventDispatcherInterface: '@Symfony\Contracts\EventDispatcher\EventDispatcherInterface'
Symfony\Component\Stopwatch\Stopwatch: ~
League\Flysystem\MountManager: ~
League\CommonMark\Extension\DisallowedRawHtml\DisallowedRawHtmlExtension:
tags: ['commonmark.extension']
League\CommonMark\Extension\Table\TableExtension:
tags: ['commonmark.extension']
League\CommonMark\ConverterInterface: '@League\CommonMark\CommonMarkConverter'
League\CommonMark\CommonMarkConverter:
factory: ['@phpDocumentor\Transformer\Writer\Twig\CommonMarkFactory', 'createConverter']
arguments:
- !tagged 'commonmark.extension'
###################################################################################
## Writers ########################################################################
###################################################################################
phpDocumentor\Transformer\Writer\Twig\EnvironmentFactory:
arguments:
$guidesTemplateBasePath: '%phpdoc.guides.base_template_paths%'
$extensions: !tagged_iterator { tag: 'twig.extension' }
phpDocumentor\Transformer\Writer\Collection:
arguments: [!tagged_iterator { tag: 'phpdoc.transformer.writer' }]
###################################################################################
## Guides ########################################################################
###################################################################################
phpDocumentor\Guides\RestructuredText\TextRoles\PHPReference:
tags:
- { name: 'phpdoc.guides.parser.rst.text_role', 'domain': 'php'}
phpDocumentor\Guides\Compiler\NodeTransformer\PHPReferenceNodeTransformer:
tags:
- { name: 'phpdoc.guides.compiler.nodeTransformers'}
phpDocumentor\Guides\Compiler\NodeTransformer\ClassListNodeTransformer:
tags:
- { name: 'phpdoc.guides.compiler.nodeTransformers'}
phpDocumentor\Guides\Compiler\NodeTransformer\ClassDiagramNodeTransformer:
tags:
- { name: 'phpdoc.guides.compiler.nodeTransformers'}
phpDocumentor\Guides\RestructuredText\Directives\PHPClassList:
arguments:
$startingRule: '@phpDocumentor\Guides\RestructuredText\Parser\Productions\DirectiveContentRule'
tags:
- { name: 'phpdoc.guides.directive' }
phpDocumentor\Guides\RestructuredText\Directives\PHPElementName:
tags:
- { name: 'phpdoc.guides.directive' }
phpDocumentor\Guides\RestructuredText\Directives\PHPElementSummary:
tags:
- { name: 'phpdoc.guides.directive' }
phpDocumentor\Guides\RestructuredText\Directives\PHPElementDescription:
tags:
- { name: 'phpdoc.guides.directive' }
phpDocumentor\Guides\RestructuredText\Directives\ClassDiagram:
tags:
- { name: 'phpdoc.guides.directive' }
phpDocumentor\Uml\PlantumlRenderer:
arguments:
$plantUmlBinaryPath: '%guides.graphs.plantuml_binary%'
tags:
- { name: 'phpdoc.guides.graph.renderer', 'alias': 'plantuml_smetana' }
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/mirrors/phpDocumentor2.git
git@gitee.com:mirrors/phpDocumentor2.git
mirrors
phpDocumentor2
phpDocumentor2
master

搜索帮助