# fluent-boards/1.91.6/app/Services/Libs/csv/autoload.php

FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration, version 1.91.6. 22 lines.

- Page: https://pluginprobe.com/plugins/fluent-boards/1.91.6/code/app/Services/Libs/csv/autoload.php
- Raw: https://pluginprobe.com/plugins/fluent-boards/1.91.6/raw/app/Services/Libs/csv/autoload.php
- Modified: 2024-05-31T06:41:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-boards/1.91.6/code/app/Services/Libs/csv/autoload.php#L10-L20`.

```php
<?php

spl_autoload_register(function ($class) {

    $prefix = 'League\Csv\\';
    if (0 !== strpos($class, $prefix)) {
        return;
    }

    $file = __DIR__
        .DIRECTORY_SEPARATOR
        .'src'
        .DIRECTORY_SEPARATOR
        .str_replace('\\', DIRECTORY_SEPARATOR, substr($class, strlen($prefix)))
        .'.php';
    if (!is_readable($file)) {
        return;
    }

    require $file;
});

```
