original_string: public function permissions()
      {
          if (is_array($this->permissions)) {
              return $this->permissions;
          }
  
          if ($this->permissions) {
              return [ $this->permissions ];
          }
  
          return [];
      }
code: public function permissions()
      {
          if (is_array($this->permissions)) {
              return $this->permissions;
          }
  
          if ($this->permissions) {
              return [ $this->permissions ];
          }
  
          return [];
      }
code_tokens: public function permissions ( ) { if ( is_array ( $ this -> permissions ) ) { return $ this -> permissions ; } if ( $ this -> permissions ) { return [ $ this -> permissions ] ; } return [ ] ; }
docstring: Returns permissions required to use the field.
  
  @return string[]
docstring_tokens: Returns permissions required to use the field .