Laravel 5.2 Dingo/api resources group
<p>As the title mentions, I am trying to figure out how to make a resource group by dingo.</p>

<p>As it explains with laravel, the correct way to make a resource group in route is:</p>

<pre><code>Route::resource('item', 'Api\ItemController');
</code></pre>

<p>is it similar with the dingo/api? can I just say:</p>

<pre><code>$api = app('Dingo\Api\Routing\Router');

$api-&gt;version('v1', function($api){
    $api-&gt;resources('item','App\Http\Controllers\Api\ItemController');
});
</code></pre>

<p>When executing this way, i get a type error:</p>

<blockquote>
  <p>Argument 1 passed to Dingo\Api\Routing\Router::resources() must be of the type array, string given</p>
</blockquote>

<p>Does this mean that I have to make an array of all the calls that I need and then pass it to the <code>resources</code> method? </p>