php-xml:XML转换器输出有效的(PSR-7)API响应

时间:2021-02-06 14:25:46
【文件属性】:
文件名称:php-xml:XML转换器输出有效的(PSR-7)API响应
文件大小:27KB
文件格式:ZIP
更新时间:2021-02-06 14:25:46
php composer php7 serializer xml XML转换器 安装 使用安装软件包: $ composer require nilportugues/xml 用法 给定一个PHP对象和一系列映射, XML Transformer将给定的数据表示为XML对象。 例如,给出以下代码,定义博客文章和一些评论: $ post = new Post ( new PostId ( 9 ), 'Hello World' , 'Your first post' , new User ( new UserId ( 1 ), 'Post Author' ), [ new Comment (
【文件预览】:
php-xml-master
----.gitignore(49B)
----README.md(7KB)
----tests()
--------Http()
--------XmlSerializerTest.php(7KB)
--------Dummy()
----phpunit.xml(1KB)
----LICENSE(1KB)
----composer.json(879B)
----CONTRIBUTING.md(781B)
----src()
--------Http()
--------XmlSerializer.php(687B)
--------XmlPresenter.php(3KB)
--------XmlTransformer.php(7KB)
----.travis.yml(229B)

网友评论