Ejemplo n.º 1
0
 /**
  * @covers Taproot\Librarian\Event::getLibrarian
  * @todo   Implement testGetLibrarian().
  */
 public function testGetLibrarian()
 {
     $this->assertSame($this->l, $this->object->getLibrarian());
 }
Ejemplo n.º 2
0
 public function onDelete(Event $event)
 {
     $id = $event->getData();
     $this->db->delete($this->getTableName(), ['id' => $id]);
 }