private function parseCastToValidator($type)
    {
        if (array_has(static::$cast_validation, $type)) {
            return array_get(static::$cast_validation, $type);
        }

        if (array_has(static::$default_cast_validation, $type)) {
            return array_get(static::$default_cast_validation, $type);
        }

        return $type;
    }