public function setConnectionFactory(ConnectionFactoryInterface $connectionFactory) { $this->connectionFactory = $connectionFactory; }