getType() 공개 메소드

get type
public getType ( DynamicFieldHandler $handler, string $id ) : AbstractType
$handler DynamicFieldHandler dynamic field handler
$id string type id
리턴 AbstractType
 /**
  * get dynamic field without skin instance
  *
  * @param string $group config group name
  * @param string $id    field type id
  * @return AbstractType
  */
 public function getType($group, $id)
 {
     $config = $this->configHandler->get($group, $id);
     if ($config == null) {
         return null;
     }
     $type = $this->registerHandler->getType($this, $config->get('typeId'));
     $type->setConfig($config);
     return $type;
 }