Controller/UserMessagesListAwareController.php
/**
     * Displays the authenticated participant inbox.
     *
     * @param Request $request
     *
     * @return Response
     */
Displays the authenticated participant inbox.
@param Request $request

@return Response
Displays the authenticated participant inbox . @param Request $request @return Response
public function indexAction(Request $request): Response
    {
        $user  = $this->getUser();
        $query = call_user_func($this->provider, $user);
        $pagination = $this->paginator->paginate(
            $query,
            $request->query->getInt('page', 1),
            $this->limit
        );
        return $this->render($this->templatePath, [
            'list'                => $pagination,
        ]);
    }
public function indexAction ( Request $ request ) : Response { $ user = $ this -> getUser ( ) ; $ query = call_user_func ( $ this -> provider , $ user ) ; $ pagination = $ this -> paginator -> paginate ( $ query , $ request -> query -> getInt ( 'page' , 1 ) , $ this -> limit ) ; return $ this -> render ( $ this -> templatePath , [ 'list' => $ pagination , ] ) ; }
Displays the authenticated participant inbox.
Displays the authenticated participant inbox .
/**
         * @var ParticipantInterface $user
         */