Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function __construct(
- MagentoCustomerApiCustomerRepositoryInterface $customerRepo){
- $this->customerRepo = $customerRepo;
- }
- $customer = $this->customerRepo->getById('your customer id');
- if($customer){
- //process your code
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement