Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function up(Schema $schema) |
||
16 | { |
||
17 | $app = \Eccube\Application::getInstance(); |
||
18 | /** @var EntityManager $em */ |
||
19 | $em = $app["orm.em"]; |
||
20 | |||
21 | $DeviceType = $app['eccube.repository.master.device_type']->find(10); |
||
22 | |||
23 | $PageLayout = new PageLayout(); |
||
24 | $PageLayout |
||
25 | ->setDeviceType($DeviceType) |
||
26 | ->setName('MYページ/お届け先編集') |
||
27 | ->setUrl('mypage_delivery_edit') |
||
28 | ->setFileName('Mypage/delivery_edit') |
||
29 | ->setEditFlg(2) |
||
30 | ->setMetaRobots('noindex'); |
||
31 | $em->persist($PageLayout); |
||
32 | |||
33 | $em->flush(); |
||
34 | } |
||
35 | |||
43 |