FunctionExistenceProviderInterface
in
Table of Contents
Methods
- doesFunctionExist() : bool|null
- Use this hook for informing whether or not a global function exists. If you know the function does not exist, return false. If you aren't sure if it exists or not, return null and the default analysis will continue to determine if the function actually exists.
- getFunctionIds() : array<string|int, lowercase-string>
Methods
doesFunctionExist()
Use this hook for informing whether or not a global function exists. If you know the function does not exist, return false. If you aren't sure if it exists or not, return null and the default analysis will continue to determine if the function actually exists.
public
static doesFunctionExist(FunctionExistenceProviderEvent $event) : bool|null
Parameters
- $event : FunctionExistenceProviderEvent
Return values
bool|nullgetFunctionIds()
public
static getFunctionIds() : array<string|int, lowercase-string>