Completed
Push — 4.0 ( 103006...239d44 )
by Ryo
05:55
created

PluginLocalInstallPage   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 22
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A go() 0 6 1
A アップロード() 0 7 1
1
<?php
2
3
/*
4
 * This file is part of EC-CUBE
5
 *
6
 * Copyright(c) LOCKON CO.,LTD. All Rights Reserved.
7
 *
8
 * http://www.lockon.co.jp/
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Page\Admin;
15
16
class PluginLocalInstallPage extends AbstractAdminPageStyleGuide
17
{
18
    public static function go($I)
19
    {
20
        $page = new self($I);
21
22
        return $page->goPage('/store/plugin/install', '独自プラグインのアップロードオーナーズストア');
23
    }
24
25
    /**
26
     * @param $fileName
27
     *
28
     * @return PluginManagePage
29
     */
30
    public function アップロード($fileName)
31
    {
32
        $this->tester->attachFile(['id' => 'plugin_local_install_plugin_archive'], $fileName);
33
        $this->tester->click(['css' => '#upload-form > div > div > div > div > div.card-body > div > div > button']);
34
35
        return PluginManagePage::at($this->tester);
36
    }
37
}
38