D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
psa
/
admin
/
plib
/
modules
/
advisor
/
vendor
/
icecave
/
repr
/
src
/
Filename :
RepresentableInterface.php
back
Copy
<?php declare (strict_types=1); namespace PleskAdvisor\Icecave\Repr; /** * Interface for objects that provide their own string representation. */ interface RepresentableInterface { /** * Generate this object's string representation. * * @param Generator $generator The object being used to generate the string representation. * @param int $currentDepth The current depth in the object hierarchy. * * @return string The string representation of $this. */ public function stringRepresentation(Generator $generator, int $currentDepth = 0) : string; }