Spanner/src/Session/CacheSessionPool.php
private function purgeOrphanedToCreateItems(array &$data)
    {
        foreach ($data['toCreate'] as $key => $timestamp) {
            $time = $this->time();

            if ($timestamp + self::DURATION_TWENTY_MINUTES < $this->time()) {
                unset($data['toCreate'][$key]);
            }
        }
    }
private function purgeOrphanedToCreateItems(array &$data)
    {
        foreach ($data['toCreate'] as $key => $timestamp) {
            $time = $this->time();

            if ($timestamp + self::DURATION_TWENTY_MINUTES < $this->time()) {
                unset($data['toCreate'][$key]);
            }
        }
    }
private function purgeOrphanedToCreateItems ( array & $ data ) { foreach ( $ data [ 'toCreate' ] as $ key => $ timestamp ) { $ time = $ this -> time ( ) ; if ( $ timestamp + self :: DURATION_TWENTY_MINUTES < $ this -> time ( ) ) { unset ( $ data [ 'toCreate' ] [ $ key ] ) ; } } }
Purge any items in the to create queue that have been inactive for 20
minutes or more.

@param array $data
Purge any items in the to create queue that have been inactive for 20 minutes or more .