protected function connectIfNotBound(LdapOperationInterface $operation) { if (!$this->connection->isBound() && !$operation instanceof AuthenticationOperation) { $this->connection->connect(); } }