src/SecucardConnect/Product/Services/IdentRequestsService.php
private function process(IdentRequest &$request)
    {
        if (isset($request->person)) {
            foreach ($request->person as $p) {
                $contact = $p->contact;
                if (!empty($contact) && !empty($contact->picture)) {
                    $contact->pictureObject = $this->initMediaResource($contact->picture);
                }
            }
        }
    }
private function process(IdentRequest &$request)
    {
        if (isset($request->person)) {
            foreach ($request->person as $p) {
                $contact = $p->contact;
                if (!empty($contact) && !empty($contact->picture)) {
                    $contact->pictureObject = $this->initMediaResource($contact->picture);
                }
            }
        }
    }
private function process ( IdentRequest & $ request ) { if ( isset ( $ request -> person ) ) { foreach ( $ request -> person as $ p ) { $ contact = $ p -> contact ; if ( ! empty ( $ contact ) && ! empty ( $ contact -> picture ) ) { $ contact -> pictureObject = $ this -> initMediaResource ( $ contact -> picture ) ; } } } }
Handles proper contact picture initialization after retrieval of a ident request.
@param IdentRequest $request
Handles proper contact picture initialization after retrieval of a ident request .