溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

SonataEasyExtendsBundle功能包:概述

發(fā)布時間:2020-07-11 14:14:42 來源:網(wǎng)絡(luò) 閱讀:567 作者:firehare 欄目:web開發(fā)

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 可以從供應(yīng)商所提供的功能包中生成一個合法的功能包結(jié)構(gòu)原型。這個工具從一個簡單的命令行開始: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)

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

向AI問一下細節(jié)

免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI