phpactor/docblock
最新稳定版本:0.3.6
Composer 安装命令:
composer require phpactor/docblock
包简介
Simple Docblock Parser
README 文档
README
DEPRECATED: See https://github.com/phpactor/docblock-parser for a better solution.
Sub-standard docblock parser.
$docblock = (new DocblockFactory())->create('/** @var Foobar */'); $vars = $docblock->tags()->byName('var'); foreach ($vars as $var) { $var->type(); $var->varName(); }
Why?
There is already a standards-compliant library for PHP-Documentor, however it is coupled to the PHPDocumentor type reflection library. This library only cares about parsing docblocks badly for Phpactor.
Contributing
This package is open source and welcomes contributions! Feel free to open a pull request on this repository.
Support
- Create an issue on the main Phpactor repository.
- Join the
#phpactorchannel on the Slack Symfony Devs channel.
统计信息
- 总下载量: 104.13k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-12