izzum\statemachine\persistence\PDO::setupConnection PHP Метод

setupConnection() защищенный Метод

protected setupConnection ( PDO $connection )
$connection PDO
    protected function setupConnection(\PDO $connection)
    {
        /**
         * hook, override to:
         * - set schema on postgresql
         * - set PRAGMA on sqlite
         * - etc..
         * whatever is the need to do a setup on, the first time
         * you create a connection
         * - SET UTF-8 on mysql can be done with an option in the $options
         * constructor argument
         */
    }