original_string: private function resolveCasterClassName($type) {
          foreach($this->casters as $typeNames => $casterClass) {
              $names = explode('|', $typeNames);
  
              if(!in_array($type, $names)) {
                  continue;
              }
  
              return $casterClass;
          }
          
          throw CasterException::unresolvableType($type);
      }
code: private function resolveCasterClassName($type) {
          foreach($this->casters as $typeNames => $casterClass) {
              $names = explode('|', $typeNames);
  
              if(!in_array($type, $names)) {
                  continue;
              }
  
              return $casterClass;
          }
          
          throw CasterException::unresolvableType($type);
      }
code_tokens: private function resolveCasterClassName ( $ type ) { foreach ( $ this -> casters as $ typeNames => $ casterClass ) { $ names = explode ( '|' , $ typeNames ) ; if ( ! in_array ( $ type , $ names ) ) { continue ; } return $ casterClass ; } throw CasterException :: unresolvableType ( $ type ) ; }
docstring: Resolve the correct caster class by defined type
  
  @param string $type
  
  @return string
  @throws \BuildR\TestTools\Exception\CasterException
docstring_tokens: Resolve the correct caster class by defined type