src/ActiveDoctrine/Entity/Entity.php
/**
     * Delete all entities from the database.
     *
     * @param Connection $connection A connection instance
     */
Delete all entities from the database.
@param Connection $connection A connection instance
Delete all entities from the database . @param Connection $connection A connection instance
public static function deleteAll(Connection $connection)
    {
        return $connection->delete(static::$table, [1 => 1], [\PDO::PARAM_INT]);
    }
public static function deleteAll ( Connection $ connection ) { return $ connection -> delete ( static :: $ table , [ 1 => 1 ] , [ \ PDO :: PARAM_INT ] ) ; }
Delete all entities from the database.
Delete all entities from the database .
//this feels like a hack, but works for now