Log in
Model

SchemaLocator

Magento\Cron\Model\Config\SchemaLocator

What it does

This class provides the file system paths to XSD schema files used for validating Magento 2 cron configuration XML files (crontab.xml).

Developers typically don't interact with this class directly - it's used internally by Magento's configuration system to ensure cron job definitions follow the correct XML structure during validation.

Public Methods

  • getSchema()
  • getPerFileSchema()