AllowedObjectsContainer
final class AllowedObjectsContainer extends SplObjectStorage (View source)
A container for the list of allowed objects to be persisted during this request.
Properties
protected bool | $checkNext |
Methods
checkNext(bool $checkNext = true)
Set the internal flag to return true for shouldCheck()
on the next invocation.
bool
shouldCheck()
Returns true if allowed objects should be checked this time and resets the internal flag to false,
so the next call will return false unless checkNext(true)
is called again.
Details
checkNext(bool $checkNext = true)
Set the internal flag to return true for shouldCheck()
on the next invocation.
bool
shouldCheck()
Returns true if allowed objects should be checked this time and resets the internal flag to false,
so the next call will return false unless checkNext(true)
is called again.