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