Using Smyfony 3.4 and Doctrine ORM 2.5 (mySql) I am looking for a way to "reset" a table.
By reset I mean I want to delete all entries of that table and reset the autoincrement for the id column. Basically I want to get the initial state when the table was first created.
This should be used when re-filling a table from an update source.
There probably is a way to do this using the query builder but I couldn't figure it out yet.