Log in
Model

NumericValue

Magento\Eav\Model\Entity\Increment\NumericValue

What it does

This class generates sequential numeric IDs with optional prefixes for EAV entities like orders, invoices, or credit memos.

Developers use this when they need to create incrementing reference numbers with consistent formatting (e.g., '100000001', '100000002') for business documents or entity identifiers.

Public Methods

  • getNextId()