mago_analyzer/plugin/libraries/flow_php/
mod.rs1mod type_structure;
4
5pub use type_structure::TypeStructureProvider;
6
7use crate::plugin::Plugin;
8use crate::plugin::PluginMeta;
9use crate::plugin::PluginRegistry;
10
11pub struct FlowPhpPlugin;
13
14static META: PluginMeta = PluginMeta::new(
15 "flow-php",
16 "Flow-PHP",
17 "Type providers for flow-php/etl package",
18 &["flow", "flow-etl"],
19 false, );
21
22impl Plugin for FlowPhpPlugin {
23 fn meta(&self) -> &'static PluginMeta {
24 &META
25 }
26
27 fn register(&self, registry: &mut PluginRegistry) {
28 registry.register_function_provider(TypeStructureProvider);
29 }
30}