src/SecucardConnect/Product/Payment/CustomersService.php
private function process(Customer &$customer)
    {
        if (isset($customer->contact) && isset($customer->contact->picture)) {
            $customer->contact->pictureObject = $this->initMediaResource($customer->contact->picture);
        }
    }
private function process(Customer &$customer)
    {
        if (isset($customer->contact) && isset($customer->contact->picture)) {
            $customer->contact->pictureObject = $this->initMediaResource($customer->contact->picture);
        }
    }
private function process ( Customer & $ customer ) { if ( isset ( $ customer -> contact ) && isset ( $ customer -> contact -> picture ) ) { $ customer -> contact -> pictureObject = $ this -> initMediaResource ( $ customer -> contact -> picture ) ; } }
Handles proper picture object initialization after retrieval of a customer.
@param Customer $customer
Handles proper picture object initialization after retrieval of a customer .