public function RulesDebugLog::__construct in Rules 8.3
Constructs a RulesDebugLog object.
Parameters
\Symfony\Component\HttpFoundation\Session\SessionInterface $session: The session service.
File
- src/
Logger/ RulesDebugLog.php, line 42
Class
- RulesDebugLog
- Logger that stores Rules debug logs with the session service.
Namespace
Drupal\rules\LoggerCode
public function __construct(SessionInterface $session) {
$this->session = $session;
}