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

A named set of database calls the analyzer should recognise.

Raw APIs declare sinks and globals. Extensions implementing ModelProviderInterface additionally register source-level call transformations and statement compilers.

Methods§

public function description(): string

What the extension covers, shown in the command line help.

Returns

string
Test cases 1
public function sinks(): list<SinkSpec>

The calls the extension recognises.

Returns

list<SinkSpec>
public function globals(): array<string, string>

The global variables the extension knows the class of.

A framework that hands its database handle out through a global leaves nothing in the source for the analyzer to read the type from, so the extension that knows the framework is what says the name stands for it.

Returns

array<string, string> Class names, keyed by the variable name written without its `$`
Test cases 1

Test cases 5§

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

Dedicated tests 3
Other tests reaching this symbol 2

Relations§

Implemented by 4
Extended by 1
Method calls 1
Type declarations 2