function(){ return [ 'fio' => $this->user->userCard->fio ?? $this->user->email, 'avatar' => $this->user->userCard->photo ?? '' ]; } ]; } }