public function TestSession::remove in Rules 8.3
File
- tests/
src/ Unit/ TestSession.php, line 101
Class
- TestSession
- Implements just the methods we need for the Rules unit tests.
Namespace
Drupal\Tests\rules\UnitCode
public function remove($key) {
if (isset($this->logs[$key])) {
$return = $this->logs[$key];
unset($this->logs[$key]);
return $return;
}
else {
return NULL;
}
}