# better-payment/2.3.1/vendor/league/csv/autoload.php

Better Payment – Instant Payments, Donations, Fundraising with Subscriptions &amp; More, version 2.3.1. 19 lines.

- Page: https://pluginprobe.com/plugins/better-payment/2.3.1/code/vendor/league/csv/autoload.php
- Raw: https://pluginprobe.com/plugins/better-payment/2.3.1/raw/vendor/league/csv/autoload.php
- Modified: 2024-01-09T05:12:38+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/better-payment/2.3.1/code/vendor/league/csv/autoload.php#L10-L20`.

```php
<?php

require __DIR__.'/src/functions_include.php';

spl_autoload_register(function ($class) {

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

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

    require $file;
});

```
