public function newPageLayout(DeviceType $DeviceType) { $PageLayout = new \Eccube\Entity\PageLayout(); $PageLayout->setDeviceType($DeviceType)->setEditFlg(PageLayout::EDIT_FLG_USER); return $PageLayout; }