SonataEasyExtendsBundle功能包:概述

SonataEasyExtendsBundle is a prototype for generating a valid bundle structure from a Vendor Bundle. The tool is started with the simple command line: sonata:easy-extends:generate.

成都创新互联公司专注于铁山港网站建设服务及定制,我们拥有丰富的企业做网站经验。 热诚为您提供铁山港营销型网站建设,铁山港网站制作、铁山港网页设计、铁山港网站官网定制、微信小程序定制开发服务,打造铁山港网络公司原创品牌,更为您提供铁山港网站排名全网营销落地服务。

SonataEasyExtendsBundle 可以从供应商所提供的功能包中生成一个合法的功能包结构原型。这个工具从一个简单的命令行开始:sonata:easy-extends:generate

The command will generate:

该命令可以生成

  • all required directories for one bundle (controller, config, doctrine, views, ...)

  • 功能包所要求的全部目录(如生成controller、config、doctrine和views目录等等)

  • the mapping and entity files from those defined in the CPB. The SuperClass must be prefixed by BaseXXXXXX.

  • 在CPB中定义的映射文件和实体文件。超级类必须添加Base前缀,如BaseXXXXXX

  • the table name from the bundle name + entity name. (blog__post, where blog is the BlogBundle and Post the entity name)

  • 数据表名由功能包名+实体名组合而成(如blog__post,该表名是由BlogBundle功能包名的Blog+Post实体名组合而成

当前标题:SonataEasyExtendsBundle功能包:概述
标题路径:https://www.cdcxhl.com/article28/pcgdjp.html

成都网站建设公司_创新互联,为您提供网站制作标签优化面包屑导航静态网站App开发云服务器

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联