Expand description
Plugin system for extending the analyzer with custom type inference and hooks.
Re-exports§
pub use registry::PluginRegistry;pub use context::*;pub use error::*;pub use hook::*;pub use plugin::*;pub use provider::*;
Modules§
- context
- Context types for providers and hooks.
- error
- Error types for the plugin system.
- hook
- Hook traits for the analyzer plugin system.
- libraries
- Library-specific providers for PHP stdlib, PSL, and Flow-PHP.
- plugin
- Plugin trait and metadata for analyzer plugins.
- provider
- Provider traits for the analyzer plugin system.
- registry
- Plugin registry for managing and dispatching to providers and hooks.
Functions§
- available_
plugins - Returns a list of all available plugins with their metadata.
- create_
registry - Creates a plugin registry with all library providers enabled.
- create_
registry_ with_ plugins - Creates a plugin registry with the specified plugins enabled.
- resolve_
plugin_ name - Resolves a plugin name or alias to its canonical id.