Cake\ElasticSearch\TypeRegistry::set PHP 메소드

set() 공개 정적인 메소드

Set an instance.
public static set ( string $alias, Type $object ) : Type
$alias string The alias to set.
$object Type The type to set.
리턴 Type
    public static function set($alias, Type $object)
    {
        return static::$instances[$alias] = $object;
    }