original_string: public function setMethodAttribute($method)
      {
          if (is_array($method)) {
              $action = 0;
              foreach ($method as $verb) {
                  $action = $action | VerbsMask::toNumeric($verb);
              }
          } else {
              $action = $method;
          }
  
          $this->attributes['method'] = $action;
      }
code: public function setMethodAttribute($method)
      {
          if (is_array($method)) {
              $action = 0;
              foreach ($method as $verb) {
                  $action = $action | VerbsMask::toNumeric($verb);
              }
          } else {
              $action = $method;
          }
  
          $this->attributes['method'] = $action;
      }
code_tokens: public function setMethodAttribute ( $ method ) { if ( is_array ( $ method ) ) { $ action = 0 ; foreach ( $ method as $ verb ) { $ action = $ action | VerbsMask :: toNumeric ( $ verb ) ; } } else { $ action = $ method ; } $ this -> attributes [ 'method' ] = $ action ; }
docstring: Converts methods array to verb masks
  
  @param $method
  
  @throws \DreamFactory\Core\Exceptions\NotImplementedException
docstring_tokens: Converts methods array to verb masks