Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 14 |
InstallControllerProvider | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 14 |
connect | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 14 |
<?php | |
/* | |
* This file is part of EC-CUBE | |
* | |
* Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved. | |
* | |
* http://www.lockon.co.jp/ | |
* | |
* This program is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU General Public License | |
* as published by the Free Software Foundation; either version 2 | |
* of the License, or (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
* GNU General Public License for more details. | |
* | |
* You should have received a copy of the GNU General Public License | |
* along with this program; if not, write to the Free Software | |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
*/ | |
namespace Eccube\ControllerProvider; | |
use Silex\Application; | |
use Silex\ControllerProviderInterface; | |
class InstallControllerProvider implements ControllerProviderInterface | |
{ | |
public function connect(Application $app) | |
{ | |
/* @var $controllers \Silex\ControllerCollection */ | |
$controllers = $app['controllers_factory']; | |
// installer | |
$controllers->match('', "\\Eccube\\Controller\\Install\\InstallController::index")->bind('install'); | |
$controllers->match('/step1', "\\Eccube\\Controller\\Install\\InstallController::step1")->bind('install_step1'); | |
$controllers->match('/step2', "\\Eccube\\Controller\\Install\\InstallController::step2")->bind('install_step2'); | |
$controllers->match('/step3', "\\Eccube\\Controller\\Install\\InstallController::step3")->bind('install_step3'); | |
$controllers->match('/step4', "\\Eccube\\Controller\\Install\\InstallController::step4")->bind('install_step4'); | |
$controllers->match('/step5', "\\Eccube\\Controller\\Install\\InstallController::step5")->bind('install_step5'); | |
$controllers->match('/complete', "\\Eccube\\Controller\\Install\\InstallController::complete")->bind('install_complete'); | |
$controllers->match('/migration', "\\Eccube\\Controller\\Install\\InstallController::migration")->bind('migration'); | |
$controllers->match('/migration_plugin', "\\Eccube\\Controller\\Install\\InstallController::migration_plugin")->bind('migration_plugin'); | |
$controllers->match('/migration_end', "\\Eccube\\Controller\\Install\\InstallController::migration_end")->bind('migration_end'); | |
return $controllers; | |
} | |
} |