original_string: public function mapSection($section, $className)
      {
          if (false === class_exists($className)) {
              throw new \InvalidArgumentException('This section class does not exist');
          } elseif (false === is_a($className, 'Supervisor\Configuration\Section', true)) {
              throw new \InvalidArgumentException('This section class must implement Supervisor\Configuration\Section');
          }
  
          $this->sectionMap[$section] = $className;
      }
code: public function mapSection($section, $className)
      {
          if (false === class_exists($className)) {
              throw new \InvalidArgumentException('This section class does not exist');
          } elseif (false === is_a($className, 'Supervisor\Configuration\Section', true)) {
              throw new \InvalidArgumentException('This section class must implement Supervisor\Configuration\Section');
          }
  
          $this->sectionMap[$section] = $className;
      }
code_tokens: public function mapSection ( $ section , $ className ) { if ( false === class_exists ( $ className ) ) { throw new \ InvalidArgumentException ( 'This section class does not exist' ) ; } elseif ( false === is_a ( $ className , 'Supervisor\Configuration\Section' , true ) ) { throw new \ InvalidArgumentException ( 'This section class must implement Supervisor\Configuration\Section' ) ; } $ this -> sectionMap [ $ section ] = $ className ; }
docstring: Adds or overrides a default section mapping.
  
  @param string $section
  @param string $className
docstring_tokens: Adds or overrides a default section mapping .