createHistory() public method

Create the history handler.
public createHistory ( string $user ) : Horde_History
$user string The current user.
return Horde_History The history handler.
Exemplo n.º 1
0
 public function testHistoryInject()
 {
     $history = new Horde_History_Mock('test');
     $factory = new Horde_Kolab_Storage_Factory(array('history' => $history));
     $this->assertSame($history, $factory->createHistory('test'));
 }