WebDevStudios / oops-wp

A collection of abstract classes, interfaces, and traits to promote object-oriented programming practices in WordPress.
57 stars 9 forks source link

Create abstract Plugin class and corresponding PluginInterface. #10

Closed jmichaelward closed 5 years ago

jmichaelward commented 5 years ago

There's literally not much here since we have an empty abstract body and an empty interface body. What this change does do, however, is enable our engineers, when creating their main plugin class, to extend the OopsWP Plugin class (as opposed its parent ServiceRegistrar).

Each of the plugin's Services can be added to the protected array, and we can start thinking about parts of the plugin as an independent service.

jmichaelward commented 5 years ago

Forgot to mention - this closes #9.