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

has() public method

public has ( string $schema, string $typeName, string $id ) : boolean
$schema string
$typeName string
$id string
return boolean
    public function has(string $schema, string $typeName, string $id) : bool
    {
        if (!$this->typeExists($schema, $typeName)) {
            return false;
        }
        return array_key_exists($id, $this->storage[$schema][$typeName]);
    }