HasMethodBlacklistTrait
Trait to add a method blacklist to a class Initiation and enforcement of the blacklist still has to be done in the using class
Table of Contents
Properties
- $methodBlacklist : array<string|int, string>
Methods
- methodIsBlacklisted() : bool
- setMethodBlacklist() : mixed
Properties
$methodBlacklist
private
array<string|int, string>
$methodBlacklist
= []
Methods
methodIsBlacklisted()
private
methodIsBlacklisted(string $methodName) : bool
Parameters
- $methodName : string
Return values
boolsetMethodBlacklist()
private
setMethodBlacklist(array<string|int, mixed>|null $methods) : mixed
Parameters
- $methods : array<string|int, mixed>|null