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.

成都創(chuàng)新互聯(lián)公司專注于鐵山港網(wǎng)站建設(shè)服務(wù)及定制,我們擁有豐富的企業(yè)做網(wǎng)站經(jīng)驗(yàn)。 熱誠(chéng)為您提供鐵山港營(yíng)銷型網(wǎng)站建設(shè),鐵山港網(wǎng)站制作、鐵山港網(wǎng)頁(yè)設(shè)計(jì)、鐵山港網(wǎng)站官網(wǎng)定制、微信小程序定制開發(fā)服務(wù),打造鐵山港網(wǎng)絡(luò)公司原創(chuàng)品牌,更為您提供鐵山港網(wǎng)站排名全網(wǎng)營(yíng)銷落地服務(wù)。

SonataEasyExtendsBundle 可以從供應(yīng)商所提供的功能包中生成一個(gè)合法的功能包結(jié)構(gòu)原型。這個(gè)工具從一個(gè)簡(jiǎn)單的命令行開始: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中定義的映射文件和實(shí)體文件。超級(jí)類必須添加Base前綴,如BaseXXXXXX

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

  • 數(shù)據(jù)表名由功能包名+實(shí)體名組合而成(如blog__post,該表名是由BlogBundle功能包名的Blog+Post實(shí)體名組合而成

當(dāng)前標(biāo)題:SonataEasyExtendsBundle功能包:概述
標(biāo)題路徑:http://bm7419.com/article28/pcgdjp.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站制作、標(biāo)簽優(yōu)化面包屑導(dǎo)航、靜態(tài)網(wǎng)站、App開發(fā)云服務(wù)器

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)