[{"data":1,"prerenderedAt":122},["ShallowReactive",2],{"page-\u002Fv1\u002Fadapters\u002Fcakephp\u002Fpersistence":3},{"id":4,"title":5,"body":6,"description":114,"extension":115,"meta":116,"navigation":117,"path":118,"seo":119,"stem":120,"__hash__":121},"content\u002Fv1\u002Fadapters\u002Fcakephp\u002Fpersistence.md","CakePHP persistence",{"type":7,"value":8,"toc":110},"minimark",[9,13,48,63,73,84,89],[10,11,5],"h1",{"id":12},"cakephp-persistence",[14,15,16],"blockquote",{},[17,18,19,23,24,27,28,31,34,35,42,43],"p",{},[20,21,22],"strong",{},"Host:"," CakePHP ",[20,25,26],{},"5.4.x"," (PHP 8.2–8.5) · Researched 2026-08",[29,30],"br",{},[20,32,33],{},"One-shot:"," ",[36,37,39],"a",{"href":38},"\u002Fapply\u002Fcakephp.full.md",[40,41,38],"code",{}," · Short: ",[36,44,46],{"href":45},"\u002Fcakephp",[40,47,45],{},[17,49,50,51,54,55,58,59,62],{},"Cake ",[40,52,53],{},"Table"," and Cake ",[40,56,57],{},"Entity"," are ",[20,60,61],{},"not"," Domain Entities. Keep them under Infrastructure and map to Domain Entities in repositories.",[64,65,71],"pre",{"className":66,"code":68,"language":69,"meta":70},[67],"language-text","plugins\u002F{Module}\u002Fsrc\u002FInfrastructure\u002FPersistence\u002F\n  Table\u002F\n  Repository\u002F\n","text","",[40,72,68],{"__ignoreMap":70},[17,74,75,76,79,80,83],{},"From CakePHP 5.3+, ",[40,77,78],{},"TableContainer"," may inject Tables into ",[20,81,82],{},"Infra"," services — never into Domain\u002FUse Cases.",[85,86,88],"h2",{"id":87},"related","Related",[90,91,92,99],"ul",{},[93,94,95],"li",{},[36,96,98],{"href":97},"\u002Fv1\u002Fadapters\u002Fcakephp","CakePHP adapter overview",[93,100,101,105,106],{},[36,102,104],{"href":103},"\u002Fv1\u002Fcore","Core"," · ",[36,107,109],{"href":108},"\u002Fv1\u002Fadopt\u002Fapply","Apply index",{"title":70,"searchDepth":111,"depth":111,"links":112},2,[113],{"id":87,"depth":111,"text":88},"CakeORM Table \u002F Entity stays in Infrastructure for Modular Hexagonal DDD.","md",{},true,"\u002Fv1\u002Fadapters\u002Fcakephp\u002Fpersistence",{"title":5,"description":114},"v1\u002Fadapters\u002Fcakephp\u002Fpersistence","esHN1U2HOALG8UI73SrKIJfRsh-KPcBQT2O8ZbmUy-8",1786241415374]