fluentdom/yaml-symfony
最新稳定版本:3.0.0
Composer 安装命令:
composer require fluentdom/yaml-symfony
包简介
YAML support for FluentDOM (using Symfony/YAML)
关键字:
README 文档
README
Adds support for YAML to FluentDOM. It adds a loader and a serializer. It uses the Symfony/YAML component.
Installation
composer require fluentdom/yaml-symfony
Loader
The loader registers automatically. You can trigger it with the types yaml and text/yaml.
$document = FluentDOM::load($yaml, 'text/yaml'); $query = FluentDOM($yaml, 'text/yaml');
Serializer
The serializer needs to be created for a document and can be cast into a string.
echo new FluentDOM\YAML\Symfony\Serializer($document);
$query = FluentDOM($yaml, 'text/yaml'); echo $query;
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-06