public function formName()
    {
        try {
            $reflector = new ReflectionClass($this);
            if (PHP_VERSION_ID >= 70000 && $reflector->isAnonymous()) {
                throw new InvalidConfigException('The "formName()" method should be explicitly defined for anonymous models');
            }
            return $reflector->getShortName();
        } catch (\ReflectionException $exception) {
            $className = explode('\\', static::class);
            return end($className);
        }
    }