interface DeclarationProvider
    extends Provider
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Provides captured declarations as data; Source::declarationsOnly keeps signatures separate from bodies.

Providers are installed explicitlydoctest
(new \Deriver\Deriver\Contributions())->providers // => []

Methods§

public function declarations(): Sources

Returns

Sources Captured source or signature-only provider contribution

Throws

EvaluationException If trusted plugin code fails

Test cases 3§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 2

Relations§

Type checks 1