protected static function fire_plugin_event( Table $table, $event, $args = array() ) {

		foreach ( static::$plugins as $plugin ) {
			if ( $plugin->accepts( $table ) ) {
				if ( method_exists( $plugin, $event ) ) {
					$args = array( $table ) + $args;
					call_user_func_array( array( $plugin, $event ), $args );
				}
			}
		}
	}
protected static function fire_plugin_event( Table $table, $event, $args = array() ) {

		foreach ( static::$plugins as $plugin ) {
			if ( $plugin->accepts( $table ) ) {
				if ( method_exists( $plugin, $event ) ) {
					$args = array( $table ) + $args;
					call_user_func_array( array( $plugin, $event ), $args );
				}
			}
		}
	}
protected static function fire_plugin_event ( Table $ table , $ event , $ args = array ( ) ) { foreach ( static :: $ plugins as $ plugin ) { if ( $ plugin -> accepts ( $ table ) ) { if ( method_exists ( $ plugin , $ event ) ) { $ args = array ( $ table ) + $ args ; call_user_func_array ( array ( $ plugin , $ event ) , $ args ) ; } } } }
Fire a plugin event on a given table.

@since 2.0

@param Table  $table
@param string $event Name of the method on the plugin object. Either 'registered', 'installed', or 'updated'.
@param array  $args  Additional arguments to pass to the plugin handler.
Fire a plugin event on a given table .