public function release($count)
    {
        $count = min($count, $this->size);

        if (!$count) {
            return;
        }

        $this->size -= $count;
        call_user_func($this->releaseFn, $count);
    }
public function release($count)
    {
        $count = min($count, $this->size);

        if (!$count) {
            return;
        }

        $this->size -= $count;
        call_user_func($this->releaseFn, $count);
    }
public function release ( $ count ) { $ count = min ( $ count , $ this -> size ) ; if ( ! $ count ) { return ; } $ this -> size -= $ count ; call_user_func ( $ this -> releaseFn , $ count ) ; }
Releases the specified number of resources from this allocation

@param int $count
Releases the specified number of resources from this allocation