original_string: public function item(Model $item, $view)
      {
          $content = $this->getVariablesAdapter()->get($item->content[0]->content, (array) $item->variables);
  
          return view($view, [
              'id'         => $item->id,
              'author'     => $item->author,
              'title'      => $item->content[0]->title,
              'value'      => $content,
              'priority'   => priority_label($item->notification->severity->name),
              'created_at' => $item->created_at
          ])->render();
      }
code: public function item(Model $item, $view)
      {
          $content = $this->getVariablesAdapter()->get($item->content[0]->content, (array) $item->variables);
  
          return view($view, [
              'id'         => $item->id,
              'author'     => $item->author,
              'title'      => $item->content[0]->title,
              'value'      => $content,
              'priority'   => priority_label($item->notification->severity->name),
              'created_at' => $item->created_at
          ])->render();
      }
code_tokens: public function item ( Model $ item , $ view ) { $ content = $ this -> getVariablesAdapter ( ) -> get ( $ item -> content [ 0 ] -> content , ( array ) $ item -> variables ) ; return view ( $ view , [ 'id' => $ item -> id , 'author' => $ item -> author , 'title' => $ item -> content [ 0 ] -> title , 'value' => $ content , 'priority' => priority_label ( $ item -> notification -> severity -> name ) , 'created_at' => $ item -> created_at ] ) -> render ( ) ; }
docstring: Decorates single item
  
  @param Model $item
  @param String $view
  @return String
docstring_tokens: Decorates single item