We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement __toString() on GitInfo class to be able to echo $gitInfo and get the string representation of $gitInfo->getInfo().
__toString()
GitInfo
echo $gitInfo
$gitInfo->getInfo()
(If needed) Implement JsonSerializable on GitInfo class to be able to json_encode($gitInfo) and get the JSON representation of $gitInfo->getInfo().
JsonSerializable
json_encode($gitInfo)
(If needed) Implement Serializable on GitInfo class to be able to $gitInfo->serialize() and get the serialized representation of $gitInfo->getInfo().
Serializable
$gitInfo->serialize()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Implement
__toString()
onGitInfo
class to be able toecho $gitInfo
and get the string representation of$gitInfo->getInfo()
.(If needed) Implement
JsonSerializable
onGitInfo
class to be able tojson_encode($gitInfo)
and get the JSON representation of$gitInfo->getInfo()
.(If needed) Implement
Serializable
onGitInfo
class to be able to$gitInfo->serialize()
and get the serialized representation of$gitInfo->getInfo()
.The text was updated successfully, but these errors were encountered: