|
|
@ -29,6 +29,16 @@ class Rule
|
|
|
|
const RULE_LEARNED = 12;
|
|
|
|
const RULE_LEARNED = 12;
|
|
|
|
const RULE_PACKAGE_ALIAS = 13;
|
|
|
|
const RULE_PACKAGE_ALIAS = 13;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* The literals this rule consists of.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* Each element is a package id either positive for installation or
|
|
|
|
|
|
|
|
* negative meaning removal.
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* @var array
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
public $literals;
|
|
|
|
|
|
|
|
|
|
|
|
protected $pool;
|
|
|
|
protected $pool;
|
|
|
|
|
|
|
|
|
|
|
|
protected $disabled;
|
|
|
|
protected $disabled;
|
|
|
@ -41,8 +51,6 @@ class Rule
|
|
|
|
|
|
|
|
|
|
|
|
protected $ruleHash;
|
|
|
|
protected $ruleHash;
|
|
|
|
|
|
|
|
|
|
|
|
public $literals;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function __construct(Pool $pool, array $literals, $reason, $reasonData, $job = null)
|
|
|
|
public function __construct(Pool $pool, array $literals, $reason, $reasonData, $job = null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$this->pool = $pool;
|
|
|
|
$this->pool = $pool;
|
|
|
|