Unset a class property from $this->data
@param mixed $key
@return bool
427456
public function unsetProperty( $key )
    {

        // readonly safety check
        if( $this->readOnlySafetyCheck() ) {
            return 0;
        }

        if( is_scalar( $key ) ) {
            $keys = array( (string) $key );
        } elseif( is_array( $key ) ) {
            $keys = array_map( 'strval', $key );
        } else {
            throw new \InvalidArgumentException("Bad argument passed to " .__FUNCTION__ );
        }

        $numUnset = 0;

        // remove unsettable properties from this array
        $keys = array_diff( $keys, static::$unsetableProperties);

        // iterate over the keys
        foreach( $keys as $key ) {

            if( array_key_exists( $key, $this->data ) ) {

                if( $key === static::$lateLoadProperty and isset( $this->lateLoadKey ) ) {
                    unset( $this->lateLoadKey );
                    $numUnset++;
                } else {
                    $this->load();
                    if( isset( $this->data[$key] ) ) {
                        $this->data[$key] = null;
                        $numUnset++;
                    }
                }

            }

        }

        return $numUnset;

    }
392517
public function delete($key)
    {
        key_exists_or_fail($key, $this->data);
        unset($this->data[$key]);
        $this->data = array_values($this->data);

        return $this;
    }
471919
public function delete($key)
    {
        if ($this->has($key)) {
            if ($this->set($key, null, -1)) {
                unset($this->collection[$key]);

                return true;
            }
        }

        return false;
    }
1094579
public function remove( $key )
	{
		$uri	= $this->getUriForKey( $key );
		unset( $this->data[$key] );
		return @unlink( $uri );
	}
1203512
public function clear($key) {
        if ($this->exists($key)) {
            unset($this->data[$key]);

            return true;
        }

        return false;
    }
1210131
public function delete($key)
    {
        $key = (string)$key;

        if (\array_key_exists($key, self::$registry)) {
            unset(self::$registry[$key]);
        }
        return $this;
    }
538983
public function forget($key)
	{
		$file = $this->path($key);

		if (file_exists($file))
		{
			return unlink($file);
		}

		return true;
	}
663871
public function removeKey($key)
    {
        if ($this->hasKey($key)) {
            unset($this->container[$key]);
            return true;
        } else {
            return false;
        }
    }
703609
public function unsetData($key = null)
    {
        if ($key === null) {
            $this->data = [];
        }

        if ($key !== null and isset($this->data[$key])) {
            unset($this->data[$key]);
        }
    }
1100077
public function remove($key) {
       if (!isset($this->hashmap[$key])) { return false; }
       $nodeToRemove = $this->hashmap[$key];
       $this->detach($nodeToRemove);
       unset($this->hashmap[$nodeToRemove->getKey()]);
       return true;
     }
1176581
public function remove($key)
	{
		$this->validateKey($key);
		if ($this->has($key)) {
			unset($this->params[$key]);
			return true;
		} else {
			return false;
		}
	}
354388
public function remove($key)
    {
        $this->initializeOnDemand();

        if ($this->has($key) && $this->cacheMapper->delete($key)) {
            unset($this->cache[$key]);
            return true;
        } else {
            return false;
        }
    }
189736
public function remove($key)
	{
		if(array_key_exists($key, $this->map))
		{
			$tmp = $this->map[$key]; 
			unset($this->map[$key]);
			return $tmp;
		}
		else
			return NULL;
	}
235239
public function remove($key)
    {
        if ($this->has($key)) {
            $array = &$this->data;
            foreach (explode(self::SEPERATOR, $key) as $item) {
                if (array_key_exists($item, $array)) {
                    $lastArray = &$array;
                    $array = &$array[$item];
                }
            }
            
            unset($lastArray[$item]);
            if (empty($lastArray)) {
                unset($lastArray);
            }
            $this->save();
            return true;
        }
        
        return false;
    }
1246891
public function remove($key)
    {
        if (isset($this->fields[$key])) {
            unset($this->fields[$key]);
        }
        return $this;
    }
395385
public function removeValue(string $key): bool
    {
        if (isset($this->values[$key])) {
            unset($this->values[$key]);
            return true;
        }
        return false;
    }
1068933
public function forget($key)
	{
		if (isset(self::$registry[$key]))
		{
			unset(self::$registry[$key]);
			return true;
		}

		return false;
	}