Skip to content

Instantly share code, notes, and snippets.



Created Jan 31, 2021
What would you like to do?
namespace Date;
final class :DateFormatter {
function reformatYYYYDDMMtoYYYYMMDD($date) {
//function is not static since class single responsibility is to create instances and not be a library of utils
namespace OracleDatabase;
class DatabaseAccessor {
//Database is not a singleton and it is namespace scoped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment