original_string: public function fromSubject(JWTSubject $subject)
      {
          $payload = $this->makePayload($subject);
  
          return $this->manager->encode($payload)->get();
      }
code: public function fromSubject(JWTSubject $subject)
      {
          $payload = $this->makePayload($subject);
  
          return $this->manager->encode($payload)->get();
      }
code_tokens: public function fromSubject ( JWTSubject $ subject ) { $ payload = $ this -> makePayload ( $ subject ) ; return $ this -> manager -> encode ( $ payload ) -> get ( ) ; }
docstring: Generate a token for a given subject.
  
  @param  \Tymon\JWTAuth\Contracts\JWTSubject  $subject
  
  @return string
docstring_tokens: Generate a token for a given subject .