When i printed this
I got this class name
What does this actually mean ?
Where is this "
Magento\Sales\Model\Order\Interceptor" class ?
Any thoughts ?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Interceptor classes are used in the implementation of the plugin mechanism in Magento 2.
These classes are automatically generated when you run
bin/magento setup:di:compile and you will find them in the 'generated' folder of your Magento installation. In your particular case, this means you will find your physical file as <magento_root_folder>/generated/code/Magento/Sales/Model/Order/Interceptor.php.
Please read Alan Storm's answer on https://magento.stackexchange.com/a/124355/35330 for a detailed grasp on the term.