@@ 165-168 (lines=4) @@ | ||
162 | $context['user'] = []; |
|
163 | } |
|
164 | ||
165 | if(!isset($context['user']['id']) && method_exists($user, 'getAuthIdentifier')) |
|
166 | { |
|
167 | $context['user']['id'] = $user->getAuthIdentifier(); |
|
168 | } |
|
169 | ||
170 | if(!isset($context['user']['id']) && method_exists($user, 'getKey')) |
|
171 | { |
|
@@ 170-173 (lines=4) @@ | ||
167 | $context['user']['id'] = $user->getAuthIdentifier(); |
|
168 | } |
|
169 | ||
170 | if(!isset($context['user']['id']) && method_exists($user, 'getKey')) |
|
171 | { |
|
172 | $context['user']['id'] = $user->getKey(); |
|
173 | } |
|
174 | ||
175 | if(!isset($context['user']['id']) && isset($user->id)) |
|
176 | { |