class SQLSessionInit implements EventSubscriber (View source)

Session init listener for executing a single SQL statement right after a connection is opened.

Properties

protected string $sql

Methods

__construct(string $sql)

No description

void
postConnect(ConnectionEventArgs $args)

No description

getSubscribedEvents()

{@inheritdoc}

Details

__construct(string $sql)

Parameters

string $sql

void postConnect(ConnectionEventArgs $args)

Parameters

ConnectionEventArgs $args

Return Value

void

getSubscribedEvents()

{@inheritdoc}