Log in
Helper

Data

Magento\Developer\Helper\Data

What it does

This helper class determines whether developer-restricted features should be accessible based on the client's IP address.

It checks if the current user's IP or host matches the allowed IPs configured in the store settings (dev/restrict/allow_ips), enabling developers to restrict access to development tools and debug modes to specific IP addresses for security purposes.

Public Methods

  • isDevAllowed()