/** * */ public function __construct() { $this->db = StaticDatabaseConnection::getInstance(); $this->knownItems = $this->getNewCollection(); $this->entityMapper = EntityMapper::getInstance(); $this->tablename = Nomenclature::repositoryClassnameToTablename(get_called_class()); }
public function setUp() { $this->entityMapper = EntityMapper::getInstance(); }