Documentation

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

Methods

methodIsBlacklisted()

private methodIsBlacklisted(string $methodName) : bool
Parameters
$methodName : string
Return values
bool

setMethodBlacklist()

private setMethodBlacklist(array<string|int, mixed>|null $methods) : mixed
Parameters
$methods : array<string|int, mixed>|null

        
On this page

Search results