original_string: public function files()
      {
          return $this->morphToMany(
              config('media.model', \Routegroup\Media\File::class),
              'mediables',
              null,
              null,
              'media_id'
          )
              ->withPivot('type')
              ->whereNotNull('mediables.type')
              ->withTimestamps();
      }
code: public function files()
      {
          return $this->morphToMany(
              config('media.model', \Routegroup\Media\File::class),
              'mediables',
              null,
              null,
              'media_id'
          )
              ->withPivot('type')
              ->whereNotNull('mediables.type')
              ->withTimestamps();
      }
code_tokens: public function files ( ) { return $ this -> morphToMany ( config ( 'media.model' , \ Routegroup \ Media \ File :: class ) , 'mediables' , null , null , 'media_id' ) -> withPivot ( 'type' ) -> whereNotNull ( 'mediables.type' ) -> withTimestamps ( ) ; }
docstring: Has many files.
  
  @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
docstring_tokens: Has many files .