HEX
Server: Apache
System: Linux webm013.cluster123.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: lesanew (165608)
PHP: 8.3.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/l/e/s/lesanew/anestetues2/vendor/roots/acorn/tests/Test/Concerns/SupportsScopedFixtures.php
<?php

namespace Roots\Acorn\Tests\Test\Concerns;

trait SupportsScopedFixtures
{
    protected function fixture($path)
    {
        $basepath = trim(preg_replace([
            '/'.class_basename($this).'$/',
            '/^P\\\Tests/',
        ], '', get_class($this)), '\\/');

        // ⚠ This relies on current file structure. ⚠
        // If this trait is refactored to a different path,
        // be sure to update the line below.
        return dirname(__DIR__, 2).DIRECTORY_SEPARATOR.$basepath.DIRECTORY_SEPARATOR.'__fixtures__'.DIRECTORY_SEPARATOR.$path;
    }
}