original_string: public function resourceConfigurationFor($resourceName)
      {
          foreach ($this->resourceConfigurations as $config) {
              if ($config->getResource() === $resourceName) {
                  return $config;
              }
          }
  
          return null;
      }
code: public function resourceConfigurationFor($resourceName)
      {
          foreach ($this->resourceConfigurations as $config) {
              if ($config->getResource() === $resourceName) {
                  return $config;
              }
          }
  
          return null;
      }
code_tokens: public function resourceConfigurationFor ( $ resourceName ) { foreach ( $ this -> resourceConfigurations as $ config ) { if ( $ config -> getResource ( ) === $ resourceName ) { return $ config ; } } return null ; }
docstring: Get ResourceConfiguration from resource name.
  
  @param mixed $resourceName
  @return ResourceConfiguration|null
docstring_tokens: Get ResourceConfiguration from resource name .