public AccessResultForbidden::isForbidden()
The reason why access is forbidden. For use in error messages. Type: string|null File
public AccessResultForbidden::getReason()
public AccessResultForbidden::__construct($reason = NULL)
public AccessResultForbidden::setReason($reason)
Value object indicating a forbidden access result, with cacheability metadata. Hierarchy