original_string: public function findByIdentifier($identifier)
      {
          $presets = $this->loadPresets();
          if (empty($presets[$identifier])) {
              throw new Exception('Could not find preset', 1410549868);
          }
          return $presets[$identifier];
      }
code: public function findByIdentifier($identifier)
      {
          $presets = $this->loadPresets();
          if (empty($presets[$identifier])) {
              throw new Exception('Could not find preset', 1410549868);
          }
          return $presets[$identifier];
      }
code_tokens: public function findByIdentifier ( $ identifier ) { $ presets = $ this -> loadPresets ( ) ; if ( empty ( $ presets [ $ identifier ] ) ) { throw new Exception ( 'Could not find preset' , 1410549868 ) ; } return $ presets [ $ identifier ] ; }
docstring: Finds a preset matching the given identifier.
  
  @param string $identifier
  @return array $configuration
  @throws Exception
docstring_tokens: Finds a preset matching the given identifier .