This commit is contained in:
2026-10-12 20:35:25 -06:00
parent bef9999f6a
commit 225515570a
963 changed files with 273176 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
namespace WP_Rocket\ThirdParty;
use WP_Rocket\Event_Management\Subscriber_Interface;
/**
* Null Subscriber.
*
* Provides a base class to extend for common Subscribers.
*
* @since 3.6.3
*/
class NullSubscriber implements Subscriber_Interface {
/**
* Get an array of subscribed events.
*
* To be overloaded with actual subscribed events in extending Subscribers.
*
* @since 3.6.3
*
* @return array
*/
public static function get_subscribed_events() {
return [];
}
}