src/ProcessPool.php
public function decrement($context = null)
    {
        $poolUsage = $this->cache->get(self::CACHE_KEY) ?: 0;
        $this->logPoolUsage($poolUsage, $context);
        if ($poolUsage > 1) {
            $this->cache->set(self::CACHE_KEY, $poolUsage - 1, $this->lifetime);
        } else {
            $this->cache->delete(self::CACHE_KEY);
        }
    }
public function decrement($context = null)
    {
        $poolUsage = $this->cache->get(self::CACHE_KEY) ?: 0;
        $this->logPoolUsage($poolUsage, $context);
        if ($poolUsage > 1) {
            $this->cache->set(self::CACHE_KEY, $poolUsage - 1, $this->lifetime);
        } else {
            $this->cache->delete(self::CACHE_KEY);
        }
    }
public function decrement ( $ context = null ) { $ poolUsage = $ this -> cache -> get ( self :: CACHE_KEY ) ? : 0 ; $ this -> logPoolUsage ( $ poolUsage , $ context ) ; if ( $ poolUsage > 1 ) { $ this -> cache -> set ( self :: CACHE_KEY , $ poolUsage - 1 , $ this -> lifetime ) ; } else { $ this -> cache -> delete ( self :: CACHE_KEY ) ; } }
Remove one item from pool

@param mixed $context
Remove one item from pool