lib/FunctionData.php
function toString(bool $asDefinition = false): string {
    $token = $asDefinition ? Token::functionName : Token::functionData;
    $number = $asDefinition ? $this->getLineNumber() : $this->getExecutionCount();
    return "$token:$number,{$this->getFunctionName()}";
  }
function toString(bool $asDefinition = false): string {
    $token = $asDefinition ? Token::functionName : Token::functionData;
    $number = $asDefinition ? $this->getLineNumber() : $this->getExecutionCount();
    return "$token:$number,{$this->getFunctionName()}";
  }
function toString ( bool $ asDefinition = false ) : string { $ token = $ asDefinition ? Token :: functionName : Token :: functionData ; $ number = $ asDefinition ? $ this -> getLineNumber ( ) : $ this -> getExecutionCount ( ) ; return "$token:$number,{$this->getFunctionName()}" ; }
Returns a string representation of this object.
@param bool $asDefinition Value indicating whether to return the function definition (e.g. name and line number) instead of its data (e.g. name and execution count).
@return string The string representation of this object.
Returns a string representation of this object .