original_string: protected function fires()
      {
          $className = isset($this->notification->classname) ? snake_case(class_basename($this->notification->classname)) : false;
  
          if (! $className) {
              return [];
          }
  
          $before = event('notifications:' . $className . '.render.before');
          $after  = event('notifications:' . $className . '.render.after');
  
          return [
              'before' => !empty($before) ? current($before) : '',
              'after'  => !empty($after) ? current($after) : ''
          ];
      }
code: protected function fires()
      {
          $className = isset($this->notification->classname) ? snake_case(class_basename($this->notification->classname)) : false;
  
          if (! $className) {
              return [];
          }
  
          $before = event('notifications:' . $className . '.render.before');
          $after  = event('notifications:' . $className . '.render.after');
  
          return [
              'before' => !empty($before) ? current($before) : '',
              'after'  => !empty($after) ? current($after) : ''
          ];
      }
code_tokens: protected function fires ( ) { $ className = isset ( $ this -> notification -> classname ) ? snake_case ( class_basename ( $ this -> notification -> classname ) ) : false ; if ( ! $ className ) { return [ ] ; } $ before = event ( 'notifications:' . $ className . '.render.before' ) ; $ after = event ( 'notifications:' . $ className . '.render.after' ) ; return [ 'before' => ! empty ( $ before ) ? current ( $ before ) : '' , 'after' => ! empty ( $ after ) ? current ( $ after ) : '' ] ; }
docstring: fires events for notification template
  
  @return array
docstring_tokens: fires events for notification template