```php
class MyCSVData implements Selectable
{
    public function __construct(\SplFileInfo $file)
    {
        // ...
    }
    // ...
}
```

```php
return [
    'router' => [
        'routes' => [
            'users' => [
                'type'    => 'ResourceGraphRoute',
                'options' => [
                    'route'    => '/reports',
                    'resource' => 'ReportCsv'
                ]
            ]
        ]
    ]
];
```