Example #1
0
 /**
  * @param Config $config
  */
 public function __construct(Config $config)
 {
     $this->actionQueue = new ActionQueue();
     $this->dateTimeFormat = $config->getDateTimeFormat();
     $username = $config->getUsername();
     $password = $config->getPassword();
     $dsn = $config->getDsn();
     $options = $config->getPdoOptions();
     $this->connection = new Connection($username, $password, $dsn, $options, $this->actionQueue);
 }