src/Entity/Debug/DebugEntityDataObjectIds.php
private function initDebugIds(bool $created = false)
    {
        $this->debugIdAsString = (string)$this->id;
        $this->debugObjectHash = spl_object_hash($this);
        if (false === $created) {
            return;
        }
        static $increment = 0;
        $this->debugCreationIncrement = ++$increment;
    }
private function initDebugIds(bool $created = false)
    {
        $this->debugIdAsString = (string)$this->id;
        $this->debugObjectHash = spl_object_hash($this);
        if (false === $created) {
            return;
        }
        static $increment = 0;
        $this->debugCreationIncrement = ++$increment;
    }
private function initDebugIds ( bool $ created = false ) { $ this -> debugIdAsString = ( string ) $ this -> id ; $ this -> debugObjectHash = spl_object_hash ( $ this ) ; if ( false === $ created ) { return ; } static $ increment = 0 ; $ this -> debugCreationIncrement = ++ $ increment ; }
When creating a new Entity, we track the increment to help with identifying Entities

@param bool $created
@SuppressWarnings(PHPMD.BooleanArgumentFlag)
When creating a new Entity we track the increment to help with identifying Entities