Dumplie\Metadata\Infrastructure\InMemory\InMemoryStorage::delete PHP Method

delete() public method

public delete ( string $schema, string $typeName, string $id )
$schema string
$typeName string
$id string
    public function delete(string $schema, string $typeName, string $id)
    {
        if (!$this->typeExists($schema, $typeName)) {
            return;
        }
        if (array_key_exists($id, $this->storage[$schema][$typeName])) {
            unset($this->storage[$schema][$typeName][$id]);
        }
    }