public function itemsFor($model, $items = null, $targetUrl = null, $nextPageUrl = null, $offset = -1, ModelConfig $config = null) {
        $modelName = $this->resolveModelName($model);

        if ($items == null) {
            $items = call_user_func(array($modelName, 'simplePaginate'), 10);
        }

        $factory = $this->app->make('Label305\AujaLaravel\Factory\ResourceItemsFactory');
        /* @var $factory ResourceItemsFactory */
        return $factory->create($modelName, $items, $targetUrl, $nextPageUrl, $offset, $config);
    }