Crud api for vzlagym with silex and dbal