function RulesDebugLog::__construct

Constructs a RulesDebugLog object.

Parameters

\Symfony\Component\HttpFoundation\Session\SessionInterface $session: The session service.

File

src/Logger/RulesDebugLog.php, line 44

Class

RulesDebugLog
Logger that stores Rules debug logs with the session service.

Namespace

Drupal\rules\Logger

Code

public function __construct(SessionInterface $session) {
    $this->session = $session;
}