public function getUserEndorsement($user) {
        return $this->endorsements->filter(function($e) use ($user) {
                    return $e->getUser() == $user;
                })->first();
    }
public function getUserEndorsement($user) {
        return $this->endorsements->filter(function($e) use ($user) {
                    return $e->getUser() == $user;
                })->first();
    }
public function getUserEndorsement ( $ user ) { return $ this -> endorsements -> filter ( function ( $ e ) use ( $ user ) { return $ e -> getUser ( ) == $ user ; } ) -> first ( ) ; }
Get the current endorsement for a specific user_id

@return \Doctrine\Common\Collections\Collection
Get the current endorsement for a specific user_id