original_string: public static function getValueName($value, $strict = false)
      {
          if (!static::isValidValue($value)) {
              throw new \InvalidArgumentException('No enum name was found for the value supplied.');
          }
  
          return array_search($value, static::$constants, $strict);
      }
code: public static function getValueName($value, $strict = false)
      {
          if (!static::isValidValue($value)) {
              throw new \InvalidArgumentException('No enum name was found for the value supplied.');
          }
  
          return array_search($value, static::$constants, $strict);
      }
code_tokens: public static function getValueName ( $ value , $ strict = false ) { if ( ! static :: isValidValue ( $ value ) ) { throw new \ InvalidArgumentException ( 'No enum name was found for the value supplied.' ) ; } return array_search ( $ value , static :: $ constants , $ strict ) ; }
docstring: Get the enum name from its value.
  
  @param mixed $value
  @param bool $strict
  @return string
docstring_tokens: Get the enum name from its value .