Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 13 |
| Version20160216215635 | |
0.00% |
0 / 1 |
|
0.00% |
0 / 2 |
12 | |
0.00% |
0 / 13 |
| up | |
0.00% |
0 / 1 |
6 | |
0.00% |
0 / 11 |
|||
| down | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
| <?php | |
| namespace DoctrineMigrations; | |
| use Doctrine\DBAL\Migrations\AbstractMigration; | |
| use Doctrine\DBAL\Schema\Schema; | |
| /** | |
| * Auto-generated Migration: Please modify to your needs! | |
| */ | |
| class Version20160216215635 extends AbstractMigration | |
| { | |
| /** | |
| * @param Schema $schema | |
| */ | |
| public function up(Schema $schema) | |
| { | |
| $app = \Eccube\Application::getInstance(); | |
| $PageLayout = $app['eccube.repository.page_layout']->findOneBy(array( | |
| 'url' => 'forgot_reset', | |
| 'name' => 'パスワード変更((完了ページ)', | |
| )); | |
| if ($PageLayout) { | |
| $PageLayout->setName('パスワード変更(完了ページ)'); | |
| $app['orm.em']->flush(); | |
| } | |
| } | |
| /** | |
| * @param Schema $schema | |
| */ | |
| public function down(Schema $schema) | |
| { | |
| } | |
| } |