0

I am analysising Magento\Customer\Model\Address\AbstractAddress

By the way I am facing with $addressDataObject = $this->addressDataFactory->create(); in 567 line

$this->addressDataFactory this was injected from Magento\Customer\Api\Data\AddressInterfaceFactory

I want to see Magento\Customer\Api\Data\AddressInterfaceFactory interface file However this file isn't existed its directory

enter image description here

How can I make sense Hope to you help me

Thank you so much

1 Answer 1

0

Factory classes are generated automatically and you can find them in generated folder from your Magento installation location.

Basically, you should have a <magento_proj>/generated/code/Magento/Customer\Api\Data\AddressInterfaceFactory.php file in there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.