C:\xampp\htdocs\landing\wp-content\plugins\totalpoll\src\Migrations\Polls\TotalPoll\Migrator.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php

namespace TotalPoll\Migrations\Polls\TotalPoll;
defined'ABSPATH' ) && exit();


use 
TotalPoll\Migrations\Polls\Load;

/**
 * TotalPoll 3 Migrator.
 * @package TotalPoll\Migrations\Polls\TotalPoll
 */
class Migrator extends \TotalPoll\Migrations\Polls\Migrator {
    
/**
     * Migrator constructor.
     *
     * @param array $env
     */
    
public function __construct$env ) {
        
parent::__construct$env, new Extract(), new Transform(), new Load() );
    }

    
/**
     * @return array
     */
    
public function jsonSerialize() {
        return [
            
'name'  => 'TotalPoll 3.0',
            
'image' => $this->env['url'] . 'assets/dist/images/migration/totalpoll-3.png',
            
'done'  => $this->getMigratedCount(),
            
'total' => $this->getCount(),
        ];
    }
}
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586