没有合适的资源?快使用搜索试试~ 我知道了~
BEAR.SirenModule:Siren超媒体对BEAR的支持
共34个文件
php:28个
gitignore:1个
json:1个
需积分: 5 0 下载量 95 浏览量
2021-05-21
00:19:44
上传
评论
收藏 24KB ZIP 举报
温馨提示
熊警笛模块 警告:这是高度实验性的内容,尚未准备好用于生产。 警笛声支持BEAR.Sunday 警笛渲染器 它会覆盖默认渲染器,并以警号格式表示您的资源。 警笛[ ] 演示版 使用此模块的演示应用程序[ ] 实体 类(可选) 您可以使用@SirenClass批注指定此可选值。 @SirenClass("order") 属性(可选) 属性是资源对象的响应主体。 实体 使用@SirenEmbedResource批注添加与子相关的资源实体。 @SirenEmbedResource(rel="customer", src="app://self/customer?customerId={customerId}") 然后,您可以按如下所示的请求嵌入实体。 $this['customer']->addQuery(['customerId' => $customerId])->
资源推荐
资源详情
资源评论
收起资源包目录
BEAR_SirenModule-master.zip (34个子文件)
BEAR.SirenModule-master
.php_cs 1KB
.gitignore 85B
src
Exception
SirenEmbedResourceException.php 354B
SirenEmbedLinkException.php 350B
SirenActionException.php 347B
EmbedLinkInterceptor.php 4KB
Annotation
SirenType.php 310B
SirenLink.php 387B
SirenEmbedResource.php 402B
SirenClass.php 311B
SirenAction.php 391B
SirenField.php 468B
SirenTitle.php 312B
SirenName.php 310B
SirenEmbedLink.php 398B
SirenRel.php 308B
PaginationParamHolderInterface.php 369B
SirenModule.php 2KB
ActionInterceptor.php 5KB
SirenPaginationParamHolder.php 703B
EmbedResourceInterceptor.php 3KB
SirenClassInterceptor.php 1KB
SirenRenderer.php 9KB
.travis.yml 312B
composer.json 616B
README.md 4KB
phpunit.xml 758B
tests
bootstrap.php 350B
Fake
FakeVendor
Sandbox
Resource
App
Orders.php 1KB
Customer.php 602B
Order
Items.php 880B
AppModule.php 339B
Renderer
SirenRendererTest.php 4KB
src-file
doctrine_annotations.php 675B
共 34 条
- 1
资源评论
crazed1987
- 粉丝: 35
- 资源: 4677
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功