for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Mamaduka\BpNotifications;
/**
* Class PluginFactory
*/
final class PluginFactory {
* Create and return an instance of the plugin.
*
* This always returns a shared instance.
public static function create() {
static $plugin = null;
if ( null === $plugin ) {
$plugin = new Plugin();
}
return $plugin;