Skip to content

Plugin ​

Rasuvaeff\Understudy\Psalm\Plugin

Class — Package: rasuvaeff/understudy-psalm — Source — Version: v1.0.0

Implements: Psalm\Plugin\PluginEntryPointInterface, Psalm\Plugin\PluginInterface

Entry point registered through extra.psalm.pluginClass, so vendor/bin/psalm-plugin enable rasuvaeff/understudy-psalm is all a user has to run.

Methods ​

__invoke() ​

php
__invoke(
    Psalm\Plugin\RegistrationInterface $registration,
    ?SimpleXMLElement $config = NULL,
): void

Loads the plugin hooks and registers them with Psalm.