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