public function setConnection(LdapConnectionInterface $connection) { $this->connection = $connection; }