original_string: public function allFonts(PHPExcel $pPHPExcel = null)
      {
          // Get an array of unique fonts
          $aFonts = array();
          $aStyles = $this->allStyles($pPHPExcel);
  
          foreach ($aStyles as $style) {
              if (!array_key_exists($style->getFont()->getHashCode(), $aFonts)) {
                  $aFonts[ $style->getFont()->getHashCode() ] = $style->getFont();
              }
          }
  
          return $aFonts;
      }
code: public function allFonts(PHPExcel $pPHPExcel = null)
      {
          // Get an array of unique fonts
          $aFonts = array();
          $aStyles = $this->allStyles($pPHPExcel);
  
          foreach ($aStyles as $style) {
              if (!array_key_exists($style->getFont()->getHashCode(), $aFonts)) {
                  $aFonts[ $style->getFont()->getHashCode() ] = $style->getFont();
              }
          }
  
          return $aFonts;
      }
code_tokens: public function allFonts ( PHPExcel $ pPHPExcel = null ) { // Get an array of unique fonts $ aFonts = array ( ) ; $ aStyles = $ this -> allStyles ( $ pPHPExcel ) ; foreach ( $ aStyles as $ style ) { if ( ! array_key_exists ( $ style -> getFont ( ) -> getHashCode ( ) , $ aFonts ) ) { $ aFonts [ $ style -> getFont ( ) -> getHashCode ( ) ] = $ style -> getFont ( ) ; } } return $ aFonts ; }
docstring: Get an array of all fonts
  
  @param     PHPExcel                        $pPHPExcel
  @return     PHPExcel_Style_Font[]        All fonts in PHPExcel
  @throws     PHPExcel_Writer_Exception
docstring_tokens: Get an array of all fonts