original_string: public static function getConstantConfigByValue($value)
      {
          foreach (self::getConstants() as $constant) {
              if ($constant['value'] === $value) {
                  return $constant;
              }
          }
          return false;
      }
code: public static function getConstantConfigByValue($value)
      {
          foreach (self::getConstants() as $constant) {
              if ($constant['value'] === $value) {
                  return $constant;
              }
          }
          return false;
      }
code_tokens: public static function getConstantConfigByValue ( $ value ) { foreach ( self :: getConstants ( ) as $ constant ) { if ( $ constant [ 'value' ] === $ value ) { return $ constant ; } } return false ; }
docstring: Get a single enum constant configuration for a specific value.
  
  @param int|string $value The value to find a constant config for.
  @return array|bool
docstring_tokens: Get a single enum constant configuration for a specific value .