src/ProcessPool.php
public function canIUse($context = null)
    {
        $poolUsage = $this->cache->get(self::CACHE_KEY) ?: 0;
        $this->logPoolUsage($poolUsage, $context);
        return ($poolUsage < $this->maxItems) ? true : false;

    }
public function canIUse($context = null)
    {
        $poolUsage = $this->cache->get(self::CACHE_KEY) ?: 0;
        $this->logPoolUsage($poolUsage, $context);
        return ($poolUsage < $this->maxItems) ? true : false;

    }
public function canIUse ( $ context = null ) { $ poolUsage = $ this -> cache -> get ( self :: CACHE_KEY ) ? : 0 ; $ this -> logPoolUsage ( $ poolUsage , $ context ) ; return ( $ poolUsage < $ this -> maxItems ) ? true : false ; }
Check if there is room

@param mixed $context

@return bool
Check if there is room