spl_object_hash

Supported Versions: PHP 5 >= 5.2.0, PHP 7, PHP 8
Return hash id for given object
<?php spl_object_hash(object $object): string
<?php     public function getHash(): string

    {

        $normalizedArguments = array_map(function ($argument) {

            return is_object($argument) ? spl_object_hash($argument) : $argument;

        }, $this->getArguments());



        $prefix = $this->getObjectName() . $this->getFunctionName();