lib/FunctionData.php
static function fromJson(object $map): self {
    return new static(
      isset($map->functionName) && is_string($map->functionName) ? $map->functionName : '',
      isset($map->lineNumber) && is_int($map->lineNumber) ? $map->lineNumber : 0,
      isset($map->executionCount) && is_int($map->executionCount) ? $map->executionCount : 0
    );
  }
static function fromJson(object $map): self {
    return new static(
      isset($map->functionName) && is_string($map->functionName) ? $map->functionName : '',
      isset($map->lineNumber) && is_int($map->lineNumber) ? $map->lineNumber : 0,
      isset($map->executionCount) && is_int($map->executionCount) ? $map->executionCount : 0
    );
  }
static function fromJson ( object $ map ) : self { return new static ( isset ( $ map -> functionName ) && is_string ( $ map -> functionName ) ? $ map -> functionName : '' , isset ( $ map -> lineNumber ) && is_int ( $ map -> lineNumber ) ? $ map -> lineNumber : 0 , isset ( $ map -> executionCount ) && is_int ( $ map -> executionCount ) ? $ map -> executionCount : 0 ) ; }
Creates a new function data from the specified JSON map.
@param object $map A JSON map representing a function data.
@return static The instance corresponding to the specified JSON map.
Creates a new function data from the specified JSON map .