Dumplie\Metadata\Infrastructure\InMemory\InMemoryStorage::has PHP 메소드

has() 공개 메소드

public has ( string $schema, string $typeName, string $id ) : boolean
$schema string
$typeName string
$id string
리턴 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]);
    }