public function removeComponentRestriction($type)
    {
        if (!$this->hasComponentRestriction($type)) {
            throw PlaceException::autocompleteComponentRestrictionDoesNotExist($type);
        }

        unset($this->componentRestrictions[$type]);
    }
public function removeComponentRestriction($type)
    {
        if (!$this->hasComponentRestriction($type)) {
            throw PlaceException::autocompleteComponentRestrictionDoesNotExist($type);
        }

        unset($this->componentRestrictions[$type]);
    }
public function removeComponentRestriction ( $ type ) { if ( ! $ this -> hasComponentRestriction ( $ type ) ) { throw PlaceException :: autocompleteComponentRestrictionDoesNotExist ( $ type ) ; } unset ( $ this -> componentRestrictions [ $ type ] ) ; }
Removes a component restriction.

@param string $type The component restriction.

@throws \Ivory\GoogleMap\Exception\PlaceException If the component restriction type does not exists.
Removes a component restriction .