src/Traits/ClassTools.php
public function createStringClassSnapshotHash()
    {
        $hash = null;
        foreach ($this as $property => $value) {
            $hash = md5($hash . $property . '=' . $value);
        }
        return $hash;
    }
public function createStringClassSnapshotHash()
    {
        $hash = null;
        foreach ($this as $property => $value) {
            $hash = md5($hash . $property . '=' . $value);
        }
        return $hash;
    }
public function createStringClassSnapshotHash ( ) { $ hash = null ; foreach ( $ this as $ property => $ value ) { $ hash = md5 ( $ hash . $ property . '=' . $ value ) ; } return $ hash ; }
Create hash string from current class properties and itself values.
This method is good stuff for caching dynamic instances
@return string|null
Create hash string from current class properties and itself values . This method is good stuff for caching dynamic instances