protected function repeaterHasSubTypes(Request $request)
    {
        if (!$resourceId = $this->getResourceId($request)) {
            return false;
        }

        if (!$model = $this->model()->whereId($resourceId)->first()) {
            return false;
        }

        return method_exists($model->type, 'types');
    }
protected function repeaterHasSubTypes(Request $request)
    {
        if (!$resourceId = $this->getResourceId($request)) {
            return false;
        }

        if (!$model = $this->model()->whereId($resourceId)->first()) {
            return false;
        }

        return method_exists($model->type, 'types');
    }
protected function repeaterHasSubTypes ( Request $ request ) { if ( ! $ resourceId = $ this -> getResourceId ( $ request ) ) { return false ; } if ( ! $ model = $ this -> model ( ) -> whereId ( $ resourceId ) -> first ( ) ) { return false ; } return method_exists ( $ model -> type , 'types' ) ; }
Determine if the current repeater has sub-repeater types defined

@param Request $request
@return boolean
Determine if the current repeater has sub - repeater types defined