Encore\Admin\Form::findFieldClass PHP 메소드

findFieldClass() 공개 정적인 메소드

public static findFieldClass ( $method )
    public static function findFieldClass($method)
    {
        $className = __NAMESPACE__ . '\\Form\\Field\\' . ucfirst($method);
        if (class_exists($className)) {
            return $className;
        }
        if ($method == 'switch') {
            return __NAMESPACE__ . '\\Form\\Field\\SwitchField';
        }
        return false;
    }