original_string: public function getRequiredOptions()
      {
          if (! $this->required) {
              return null;
          }
  
          if ($this->required instanceof ConfigInterface) {
              return $this->required->getArrayCopy();
          }
  
          return (array)$this->required;
      }
code: public function getRequiredOptions()
      {
          if (! $this->required) {
              return null;
          }
  
          if ($this->required instanceof ConfigInterface) {
              return $this->required->getArrayCopy();
          }
  
          return (array)$this->required;
      }
code_tokens: public function getRequiredOptions ( ) { if ( ! $ this -> required ) { return null ; } if ( $ this -> required instanceof ConfigInterface ) { return $ this -> required -> getArrayCopy ( ) ; } return ( array ) $ this -> required ; }
docstring: Get the set of required options.
  
  @since 0.1.0
  
  @return array|null
docstring_tokens: Get the set of required options .