public function remove( Resource $resource )
    {
        $cnt = 0;
        if( false !== $key = array_search( $resource, $this->instances, true ) ) {
            unset( $this->instances[$key] );
            $cnt++;
        }
        return $cnt;
    }
public function remove( Resource $resource )
    {
        $cnt = 0;
        if( false !== $key = array_search( $resource, $this->instances, true ) ) {
            unset( $this->instances[$key] );
            $cnt++;
        }
        return $cnt;
    }
public function remove ( Resource $ resource ) { $ cnt = 0 ; if ( false !== $ key = array_search ( $ resource , $ this -> instances , true ) ) { unset ( $ this -> instances [ $ key ] ) ; $ cnt ++ ; } return $ cnt ; }
Remove a resource from the multiton cache
@param Bond\Pg\Resource
@return int
Remove a resource from the multiton cache