original_string: private function getClassOptions($sClassName, array $aDirectoryOptions, array $aDefaultOptions = [])
      {
          $aOptions = $aDefaultOptions;
          if(key_exists('separator', $aDirectoryOptions))
          {
              $aOptions['separator'] = $aDirectoryOptions['separator'];
          }
          if(key_exists('protected', $aDirectoryOptions))
          {
              $aOptions['protected'] = $aDirectoryOptions['protected'];
          }
          if(key_exists('*', $aDirectoryOptions))
          {
              $aOptions = array_merge($aOptions, $aDirectoryOptions['*']);
          }
          if(key_exists($sClassName, $aDirectoryOptions))
          {
              $aOptions = array_merge($aOptions, $aDirectoryOptions[$sClassName]);
          }
  
          return $aOptions;
      }
code: private function getClassOptions($sClassName, array $aDirectoryOptions, array $aDefaultOptions = [])
      {
          $aOptions = $aDefaultOptions;
          if(key_exists('separator', $aDirectoryOptions))
          {
              $aOptions['separator'] = $aDirectoryOptions['separator'];
          }
          if(key_exists('protected', $aDirectoryOptions))
          {
              $aOptions['protected'] = $aDirectoryOptions['protected'];
          }
          if(key_exists('*', $aDirectoryOptions))
          {
              $aOptions = array_merge($aOptions, $aDirectoryOptions['*']);
          }
          if(key_exists($sClassName, $aDirectoryOptions))
          {
              $aOptions = array_merge($aOptions, $aDirectoryOptions[$sClassName]);
          }
  
          return $aOptions;
      }
code_tokens: private function getClassOptions ( $ sClassName , array $ aDirectoryOptions , array $ aDefaultOptions = [ ] ) { $ aOptions = $ aDefaultOptions ; if ( key_exists ( 'separator' , $ aDirectoryOptions ) ) { $ aOptions [ 'separator' ] = $ aDirectoryOptions [ 'separator' ] ; } if ( key_exists ( 'protected' , $ aDirectoryOptions ) ) { $ aOptions [ 'protected' ] = $ aDirectoryOptions [ 'protected' ] ; } if ( key_exists ( '*' , $ aDirectoryOptions ) ) { $ aOptions = array_merge ( $ aOptions , $ aDirectoryOptions [ '*' ] ) ; } if ( key_exists ( $ sClassName , $ aDirectoryOptions ) ) { $ aOptions = array_merge ( $ aOptions , $ aDirectoryOptions [ $ sClassName ] ) ; } return $ aOptions ; }
docstring: Get a given class options from specified directory options
  
  @param string        $sClassName         The name of the class
  @param array         $aDirectoryOptions  The directory options
  @param array         $aDefaultOptions    The default options
  
  @return array
docstring_tokens: Get a given class options from specified directory options