Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/worker/src/MWP/Event
File: MasterRequest.php
<?php
[0] Fix | Delete
/*
[1] Fix | Delete
* This file is part of the ManageWP Worker plugin.
[2] Fix | Delete
*
[3] Fix | Delete
* (c) ManageWP LLC <contact@managewp.com>
[4] Fix | Delete
*
[5] Fix | Delete
* For the full copyright and license information, please view the LICENSE
[6] Fix | Delete
* file that was distributed with this source code.
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
class MWP_Event_MasterRequest extends MWP_Event_AbstractRequest
[10] Fix | Delete
{
[11] Fix | Delete
[12] Fix | Delete
/**
[13] Fix | Delete
* @var array
[14] Fix | Delete
*/
[15] Fix | Delete
private $params;
[16] Fix | Delete
[17] Fix | Delete
/**
[18] Fix | Delete
* @var boolean
[19] Fix | Delete
*/
[20] Fix | Delete
private $muContext;
[21] Fix | Delete
[22] Fix | Delete
function __construct(MWP_Worker_Request $request, array $params, $muContext = false)
[23] Fix | Delete
{
[24] Fix | Delete
$this->params = $params;
[25] Fix | Delete
$this->muContext = $muContext;
[26] Fix | Delete
[27] Fix | Delete
parent::__construct($request);
[28] Fix | Delete
}
[29] Fix | Delete
[30] Fix | Delete
public function getParams()
[31] Fix | Delete
{
[32] Fix | Delete
return $this->params;
[33] Fix | Delete
}
[34] Fix | Delete
[35] Fix | Delete
public function setParams(array $params)
[36] Fix | Delete
{
[37] Fix | Delete
$this->params = $params;
[38] Fix | Delete
}
[39] Fix | Delete
[40] Fix | Delete
public function isMuContext()
[41] Fix | Delete
{
[42] Fix | Delete
return $this->muContext;
[43] Fix | Delete
}
[44] Fix | Delete
}
[45] Fix | Delete
[46] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function