Dumplie\Metadata\Schema::get PHP 메소드

get() 공개 메소드

public get ( string $typeName ) : TypeSchema
$typeName string
리턴 Dumplie\Metadata\Schema\TypeSchema
    public function get(string $typeName) : TypeSchema
    {
        if (!array_key_exists($typeName, $this->types)) {
            throw NotFoundException::model($typeName);
        }
        return $this->types[$typeName];
    }