app/Api/V1/Controllers/FeedbackController.php
/**
     * get a particular feedback by id
     *
     * @param string $id
     * @return Feedback
     */
get a particular feedback by id
@param string $id
@return Feedback
get a particular feedback by id @param string $id @return Feedback
public function show($id)
    {
        if ($feedback = Feedback::with('responses.responder')->with('creator')->find($id)) {
            return $feedback;
        }
        return $this->notFound('Feedback not found.');
    }
public function show ( $ id ) { if ( $ feedback = Feedback :: with ( 'responses.responder' ) -> with ( 'creator' ) -> find ( $ id ) ) { return $ feedback ; } return $ this -> notFound ( 'Feedback not found.' ) ; }
get a particular feedback by id
 @param string $id
 @return Feedback
get a particular feedback by id @param string $id @return Feedback
// return $this->response->array($item->toArray());