PHP 8.3.31
Preview: ParsesSearchPath.php Size: 578 B
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Database/Concerns/ParsesSearchPath.php

<?php

namespace Illuminate\Database\Concerns;

trait ParsesSearchPath
{
    /**
     * Parse the Postgres "search_path" configuration value into an array.
     *
     * @param  string|array|null  $searchPath
     * @return array
     */
    protected function parseSearchPath($searchPath)
    {
        if (is_string($searchPath)) {
            preg_match_all('/[^\s,"\']+/', $searchPath, $matches);

            $searchPath = $matches[0];
        }

        return array_map(function ($schema) {
            return trim($schema, '\'"');
        }, $searchPath ?? []);
    }
}

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
19.05 KB lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
1.55 KB lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
452 B lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
9.47 KB lrw-rw-rw- 2025-09-17 06:53:01
Edit Download
578 B lrw-rw-rw- 2025-09-17 06:53:01
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).