MethodExistenceProviderInterface
in
Table of Contents
Methods
- doesMethodExist() : bool|null
- Use this hook for informing whether or not a method exists on a given object. If you know the method 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 method actually exists.
- getClassLikeNames() : array<string|int, string>
Methods
doesMethodExist()
Use this hook for informing whether or not a method exists on a given object. If you know the method 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 method actually exists.
public
static doesMethodExist(MethodExistenceProviderEvent $event) : bool|null
Parameters
- $event : MethodExistenceProviderEvent
Return values
bool|nullgetClassLikeNames()
public
static getClassLikeNames() : array<string|int, string>