public AccessResultReasonInterface::getReason()
Interface for access result value objects with stored reason for developers. For example, a developer can specify the reason for forbidden access:
public AccessResultReasonInterface::setRe