/** * Constructor. * * @param Horde_Kolab_Storage_Data $data The original data handler. * @param mixed $logger The log handler. This instance * must provide the debug() and * debug() methods. */ public function __construct(Horde_Kolab_Storage_Data $data, $logger) { $this->_data = $data; $this->_logger = $logger; $this->_data->setLogger($logger); }