original_string: private function getContaoExtra(PackageInterface $package, $key)
      {
          $extras = $package->getExtra();
  
          if (!isset($extras['contao']) || !isset($extras['contao'][$key])) {
              return null;
          }
  
          return $extras['contao'][$key];
      }
code: private function getContaoExtra(PackageInterface $package, $key)
      {
          $extras = $package->getExtra();
  
          if (!isset($extras['contao']) || !isset($extras['contao'][$key])) {
              return null;
          }
  
          return $extras['contao'][$key];
      }
code_tokens: private function getContaoExtra ( PackageInterface $ package , $ key ) { $ extras = $ package -> getExtra ( ) ; if ( ! isset ( $ extras [ 'contao' ] ) || ! isset ( $ extras [ 'contao' ] [ $ key ] ) ) { return null ; } return $ extras [ 'contao' ] [ $ key ] ; }
docstring: Retrieves a value from the package extra "contao" section.
  
  @param PackageInterface $package The package to extract the section from.
  
  @param string           $key     The key to obtain from the extra section.
  
  @return mixed|null
docstring_tokens: Retrieves a value from the package extra contao section .