Implement doctrine repository