Skip to content

Instantly share code, notes, and snippets.

View ZachWatkins's full-sized avatar

Zachary K. Watkins ZachWatkins

View GitHub Profile
@ZachWatkins
ZachWatkins / 00-repository.php
Created November 14, 2021 06:07 — forked from tommcfarlin/00-repository.php
[Software Development] Using The Repository Pattern in WordPress
<?php
/**
* Serves as a registry for all objects that need to be accessed globally throughout the
* plugin.
*/
class Registry
{
/**