|
@ -27,7 +27,7 @@ class Context extends ExclusionContext { |
|
|
public $notMarkedSince; |
|
|
public $notMarkedSince; |
|
|
|
|
|
|
|
|
public function __construct() { |
|
|
public function __construct() { |
|
|
$this->not = new ExclusionContext; |
|
|
$this->not = new ExclusionContext($this); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function __clone() { |
|
|
public function __clone() { |
|
@ -35,6 +35,10 @@ class Context extends ExclusionContext { |
|
|
$this->not = clone $this->not; |
|
|
$this->not = clone $this->not; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function __destruct() { |
|
|
|
|
|
unset($this->not); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
public function reverse(bool $spec = null) { |
|
|
public function reverse(bool $spec = null) { |
|
|
return $this->act(__FUNCTION__, func_num_args(), $spec); |
|
|
return $this->act(__FUNCTION__, func_num_args(), $spec); |
|
|
} |
|
|
} |
|
|