PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.6
GiveWP – Donation Plugin and Fundraising Platform v4.16.6
4.18.0.1 4.18.0 4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 All 258 releases
give / src / MigrationLog / MigrationLogFactory.php
src/MigrationLog
Admin 1 year ago Helpers 1 year ago Migrations 4 years ago MigrationLogFactory.php 543 B 4 years ago MigrationLogModel.php 2.1 KB 4 years ago MigrationLogRepository.php 4.9 KB 1 year ago MigrationLogServiceProvider.php 1.2 KB 4 years ago MigrationLogStatus.php 1.3 KB 1 year ago

MigrationLogFactory.php in GiveWP – Donation Plugin and Fundraising Platform 4.16.6, at src/MigrationLog/MigrationLogFactory.php

28 lines 543 B Raw Download Zip
1 <?php
2
3 namespace Give\MigrationLog;
4
5 /**
6 * Class MigrationLogFactory
7 * @package Give\MigrationLog
8 *
9 * @since 2.10.0
10 */
11 class MigrationLogFactory
12 {
13 /**
14 * Make MigrationModel instance
15 *
16 * @param string $id
17 * @param string $status
18 * @param mixed|null $error
19 * @param string|null $lastRun
20 *
21 * @return MigrationLogModel
22 */
23 public function make($id, $status = '', $error = null, $lastRun = null)
24 {
25 return new MigrationLogModel($id, $status, $error, $lastRun);
26 }
27 }
28