devigner/kunstmaan-api-bundle
Composer 安装命令:
composer require devigner/kunstmaan-api-bundle
包简介
Kunstmaan API Layer
README 文档
README
See example/ for an example implementation
Api layer for https://github.com/Kunstmaan/KunstmaanBundlesCMS
composer require devigner/kunstmaan-api-bundle
How to
Page
Every Entity that implements Kunstmaan\NodeBundle\Entity\PageInterface that needs API exposure needs to:
- Implement
Devigner\KunstmaanApiBundle\Entity\PageModelInterface. - Have a model based upon
Devigner\KunstmaanApiBundle\Model\PageEntityInterface.
Overview Page
If an overview page is needed (eg Newspage) you need to implement:
Devigner\KunstmaanApiBundle\Entity\EntityInjectionInterface
PagePart
Every Entity that implements Kunstmaan\PagePartBundle\Helper\PagePartInterface that needs API exposure needs to:
- Implement
Devigner\KunstmaanApiBundle\Entity\PagePartsModelInterface. - Have a model based upon
Devigner\KunstmaanApiBundle\Model\PagePartsEntityInterface.
Service
Devigner\KunstmaanApiBundle\EventListener\SlugEventListener:
arguments:
- '%kunstmaan_menu.menus%'
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2019-11-21