public function getCompose()
    {
        $acquaintances = Auth::user()->getAcquaintances();

        if ($acquaintances->isEmpty()) {
            return redirect()->to('/account/contacts')->withStatus('Your contacts list is empty.');
        }

        return view('mustard::messages.compose', [
            'acquaintances' => $acquaintances->sortBy('username', SORT_NATURAL | SORT_FLAG_CASE),
            'message'       => new Message(),
        ]);
    }
public function getCompose()
    {
        $acquaintances = Auth::user()->getAcquaintances();

        if ($acquaintances->isEmpty()) {
            return redirect()->to('/account/contacts')->withStatus('Your contacts list is empty.');
        }

        return view('mustard::messages.compose', [
            'acquaintances' => $acquaintances->sortBy('username', SORT_NATURAL | SORT_FLAG_CASE),
            'message'       => new Message(),
        ]);
    }
public function getCompose ( ) { $ acquaintances = Auth :: user ( ) -> getAcquaintances ( ) ; if ( $ acquaintances -> isEmpty ( ) ) { return redirect ( ) -> to ( '/account/contacts' ) -> withStatus ( 'Your contacts list is empty.' ) ; } return view ( 'mustard::messages.compose' , [ 'acquaintances' => $ acquaintances -> sortBy ( 'username' , SORT_NATURAL | SORT_FLAG_CASE ) , 'message' => new Message ( ) , ] ) ; }
Return the messaging compose view.

@return \Illuminate\View\View
Return the messaging compose view .